﻿/* Page Container */
.change-password-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.password-hero {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    text-align: center;
    color: white;
}

.hero-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

.alert-error {
    background-color: #fee;
    border-left-color: #c33;
    color: #c33;
    font-size: 0.95rem;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.label-icon {
    font-size: 1.2rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

    .form-input:focus {
        outline: none;
        border-color: #ff9900;
        box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
    }

    .form-input::placeholder {
        color: #999;
    }

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Requirements Card */
.requirements-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
}

.requirements-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .requirements-list li {
        padding: 8px 0;
        color: #666;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .change-password-container {
        padding: 10px;
    }

    .password-hero {
        padding: 20px 15px;
    }

    .hero-icon {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-card {
        padding: 20px;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px 18px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-label {
        font-size: 0.9rem;
    }

    .requirements-card {
        padding: 15px;
    }

    .requirements-list li {
        font-size: 0.85rem;
    }
}
