/* forms-footer.css - Kiểu dáng cho form đăng ký và footer */

/* Đăng Ký Section */
#dang-ky {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

#dang-ky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.05" d="M0,160L40,144C80,128,160,96,240,96C320,96,400,128,480,133.3C560,139,640,117,720,128C800,139,880,181,960,186.7C1040,192,1120,160,1200,154.7C1280,149,1360,171,1400,181.3L1440,192L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z"></path></svg>') no-repeat bottom center/cover;
    z-index: 0;
}

.signup-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg);
}

.signup-content h2 {
    color: white;
    text-align: left;
}

.signup-content h2::after {
    background: white;
    left: 0;
    transform: none;
}

.signup-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.signup-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.signup-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.signup-form {
    margin-top: var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    position: relative;
}

.form-group:nth-last-child(2) {
    grid-column: span 2;
}

.form-group:last-child {
    grid-column: span 2;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal);
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    background-color: white;
    box-shadow: var(--shadow-md);
}

.signup-form input::placeholder {
    color: var(--text-light);
}

.signup-form button {
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--border-radius-md);
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration-normal);
    box-shadow: var(--shadow-md);
}

.signup-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: #f1f5f9;
}

.no-commitment {
    font-size: 0.9rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column p {
    color: var(--light-gray);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-column ul li a {
    color: var(--light-gray);
    transition: color var(--duration-normal);
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: transform var(--duration-normal);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li a:hover::before {
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--duration-normal);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

address {
    font-style: normal;
    color: var(--light-gray);
}

address p {
    margin-bottom: var(--spacing-sm);
    padding-left: 25px;
    position: relative;
}

address p:nth-child(1)::before {
    content: '📍';
    position: absolute;
    left: 0;
}

address p:nth-child(2)::before {
    content: '📧';
    position: absolute;
    left: 0;
}

address p:nth-child(3)::before {
    content: '📞';
    position: absolute;
    left: 0;
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

/* Responsive */
@media (max-width: 992px) {
    .signup-content, .signup-image {
        max-width: 100%;
    }
    
    #dang-ky {
        flex-direction: column;
    }
    
    .signup-image {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .signup-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-last-child(2) {
        grid-column: span 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-column {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .signup-content h2 {
        font-size: 1.8rem;
    }
    
    .signup-content p {
        font-size: 1rem;
    }
}