/* Reset Password Page Styles */

.reset-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    margin: 0 auto;
}

.reset-box {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.reset-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reset-header h1 {
    font-size: 1.8rem;
    margin: 0.5rem 0 0;
    color: var(--text-light);
}

.reset-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
}

.reset-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.reset-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-short);
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.95rem;
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: var(--text-muted);
}

.field-error {
    display: none;
    color: var(--error-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    animation: slideInDown 0.2s ease;
}

.field-error.show {
    display: block;
}

.success-message {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    animation: slideInDown 0.3s ease;
}

.success-message.show {
    display: block;
}

.error-message {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    animation: slideInDown 0.3s ease;
}

.error-message.show {
    display: block;
}

.reset-button {
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 44px;
}

.reset-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.reset-button:active:not(:disabled) {
    transform: translateY(0);
}

.reset-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-text {
    display: inline;
}

.button-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-short);
}

.back-link a:hover {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .reset-wrapper {
        padding: 1rem;
    }

    .reset-box {
        padding: 1.5rem 1rem;
    }

    .reset-header h1 {
        font-size: 1.5rem;
    }
}
