/* Basis-Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: url('https://schalkesopa.club/assets/images/background_blank.jpg') no-repeat fixed center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
}

/* Container */
/* Reset Password System Styles */
/* Reset Password System Styles */
.reset-password-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.reset-password {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: 1px solid #e5e5e5;
}

.reset-password h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
}

.reset-password h2 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Intro Text Styling */
.intro-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #3498db;
}

.intro-text p {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.reset-password p {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.5;
    font-size: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input::placeholder {
    color: #7f8c8d;
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    background-color: #ffffff;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Code Input Special Styling */
.code-input {
    text-align: center;
    font-size: 1.5rem !important;
    font-weight: bold;
    letter-spacing: 0.3em;
    font-family: 'Courier New', monospace;
    background: #f8f9fa !important;
    border: 3px solid #3498db !important;
}

/* Button Styles */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 1rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-submit:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3498db;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-link:hover {
    background: #3498db;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Message Styles */
.error-message {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    color: #c0392b;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success-message {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4d4 100%);
    color: #27ae60;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    border-left: 4px solid #2ecc71;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.password-strength.weak {
    color: #e74c3c;
    background: #ffeaea;
}

.password-strength.medium {
    color: #f39c12;
    background: #fef5e7;
}

.password-strength.strong {
    color: #27ae60;
    background: #eafaf1;
}

/* Password Match Indicator */
.password-match {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.password-match.match {
    color: #27ae60;
    background: #eafaf1;
}

.password-match.no-match {
    color: #e74c3c;
    background: #ffeaea;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #ecf0f1;
}

.login-link p {
    margin: 0.75rem 0;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.login-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .reset-password-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .reset-password {
        padding: 2rem 1.5rem;
    }
    
    .reset-password h1 {
        font-size: 1.7rem;
    }
    
    .intro-text {
        padding: 1.25rem;
    }
    
    .intro-text h2 {
        font-size: 1.2rem;
    }
}

/* Animation for form transitions */
.reset-password {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for better accessibility */
.form-group input:focus,
.btn-submit:focus,
.btn-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}