/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    background: 
        linear-gradient(
            135deg,
            rgba(180, 120, 255, 0.25),
            rgba(150, 80, 240, 0.25),
            rgba(120, 60, 220, 0.25)
        ),
        url('images/community-bg.jpg') center/cover no-repeat;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* Container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Register Box */
.register-box {
    background: #f0f8ff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    width: 400px;
    max-width: 90%;
    text-align: center;
}

/* Big Round Logo – Fully Responsive */
.logo-container {
    width: 200px;      /* Desktop size */
    height: 200px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;        
    overflow: hidden;          
    background: #ffffffd1;     
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;         
    filter: brightness(115%) contrast(130%); /* Bold look */
}

/* Header Text */
.register-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #1e1e2f;
}

.register-header p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Form */
.register-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.register-form label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
}

.register-form input,
.register-form select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.register-form input:focus,
.register-form select:focus {
    border-color: #66a6ff;
    box-shadow: 0 0 10px rgba(102, 166, 255, 0.2);
}

/* Password toggle */
.password-group .toggle-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

/* Submit Button */
.register-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #7b2cbf; /* Purple */
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-form button:hover {
    background: #9d4edd; /* Lighter Purple */
}

/* Error & Success Messages */
.allErrors {
    color: #ff4d4f;
    margin-bottom: 15px;
    font-weight: 500;
}

.success-message {
    color: #28a745;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Footer */
.form-footer {
    margin-top: 15px;
}

.form-footer p {
    font-size: 14px;
    color: #555;
}

.form-footer a {
    color: #7b2cbf; /* Purple */
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
    color: #9d4edd; /* Hover Purple */
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 999;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* RESPONSIVE LOGO – MOBILE */
@media (max-width: 480px) {
    .register-box {
        padding: 30px 20px;
    }

    .register-header h1 {
        font-size: 20px;
    }

    .register-header p {
        font-size: 14px;
    }

    /* BIGGER LOGO ON MOBILE */
    .logo-container {
        width: 220px;   /* Increased size */
        height: 220px;
    }
}

@media (max-width: 360px) {
    /* Very small phones */
    .logo-container {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 320px) {
    /* Ultra small devices */
    .logo-container {
        width: 180px;
        height: 180px;
    }
}
