/* Register Page Styles */
:root {
    --primary-color: #198754;
    --secondary-color: #20c997;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #f5f7fa;
    min-height: 100vh;
}

/* Logo */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Header Top - Mobile Slogan Animation */
.header-top {
    position: relative;
    overflow: hidden;
}

.slogan-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slogan-scroll {
    display: inline-flex;
    white-space: nowrap;
    animation: scroll-slogans 15s linear infinite;
    gap: 4rem;
    align-items: center;
}

.slogan-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.slogan-item small {
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

@keyframes scroll-slogans {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Desktop: Hide mobile slogan scroll */
@media (min-width: 768px) {
    .slogan-scroll-wrapper {
        display: none;
    }
}

/* Mobile: Hide desktop phone number */
@media (max-width: 767.98px) {
    .header-top .col-md-6:first-child {
        display: none;
    }
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Register Section */
.register-section {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.register-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.register-icon {
    font-size: 4rem;
    color: var(--primary-color);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(32, 201, 151, 0.1));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(25, 135, 84, 0.2);
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.15);
}

.register-header h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group-text {
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--primary-color);
    border-right: none;
}

.form-control {
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.input-group .form-control {
    border-left: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Password Strength */
.password-strength .progress {
    margin-bottom: 0.5rem;
}

.password-strength small {
    font-size: 0.85rem;
}

.password-weak {
    background-color: #dc3545;
}

.password-medium {
    background-color: #ffc107;
}

.password-strong {
    background-color: #198754;
}

/* Buttons */
.btn-lg {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

/* Checkboxes */
.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a1a1a !important;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: #adb5bd;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

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

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Alert Notifications */
.alert-error {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-success {
    background-color: #198754 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-info {
    background-color: #0dcaf0 !important;
    color: #212529 !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .register-card {
        padding: 2rem;
    }
    
    .register-icon {
        font-size: 3rem;
    }
    
    body {
        background: white;
    }
    
    .register-section {
        padding: 2rem 0;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .footer .col-lg-3,
    .footer .col-lg-4,
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center !important;
    }
    
    .footer-payment-icons,
    .footer-badges {
        justify-content: center;
    }
}

