﻿ 
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

body {
    overflow:auto;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    position: relative;
}

    /* Volunteer Background */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300a651' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
        z-index: -2;
        animation: drift 20s ease-in-out infinite;
    }

@keyframes drift {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Floating Icons */
.volunteer-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.float-icon {
    position: absolute;
    color: rgba(0, 166, 81, 0.1);
    font-size: 2rem;
    animation: floatMove 15s ease-in-out infinite;
}

    .float-icon:nth-child(1) {
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }

    .float-icon:nth-child(2) {
        top: 20%;
        right: 15%;
        animation-delay: 3s;
    }

    .float-icon:nth-child(3) {
        top: 60%;
        left: 5%;
        animation-delay: 6s;
    }

    .float-icon:nth-child(4) {
        bottom: 30%;
        right: 10%;
        animation-delay: 9s;
    }

    .float-icon:nth-child(5) {
        top: 40%;
        right: 20%;
        animation-delay: 12s;
    }

    .float-icon:nth-child(6) {
        bottom: 10%;
        left: 20%;
        animation-delay: 15s;
    }

@keyframes floatMove {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.2;
    }
}

/* Main Container */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Tubular Card */
.registration-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(0, 166, 81, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 900px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .registration-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #00a651 0%, #00d466 100%);
        border-radius: 24px 24px 0 0;
    }

    .registration-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
    }

/* Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-top: 1rem;
}

/* Header Logos */
.header-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 166, 81, 0.1);
}

.logo-left, .logo-right {
    display: flex;
    align-items: center;
}

.emirates-logo {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

    .emirates-logo:hover, .pad-logo:hover {
        transform: scale(1.05);
    }

/* Event Image Section */
.event-col {
    display: flex;
    flex-direction: column;
}

/* Admin Event Image */
.admin-event-image {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(0, 166, 81, 0.08);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
   /* min-height: 350px;
    max-height: 400px;*/
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

    .event-img:hover {
        transform: scale(1.02);
    }

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #00a651;
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.placeholder-text {
    font-weight: 500;
    opacity: 0.6;
}

/* Form Column */
.form-col {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 166, 81, 0.08);
    display: flex;
    flex-direction: column;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Form Fields */
.form-item {
    position: relative;
    margin-bottom: 1rem;
}

.input-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
}

    .input-field:focus {
        outline: none;
        border-color: #00a651;
        box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
        transform: translateY(-1px);
    }

    .input-field:hover {
        border-color: #9ca3af;
    }

    .input-field.valid {
        border-color: #10b981;
        background: #f0fdf4;
    }

    .input-field.invalid {
        border-color: #ef4444;
        background: #fef2f2;
    }

/* Mobile Number Split */
.mobile-wrapper {
    display: flex;
    gap: 0.5rem;
}

.country-select {
    width: 120px;
    padding: 0.75rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .country-select:focus {
        outline: none;
        border-color: #00a651;
        box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
    }

.number-input {
    flex: 1;
}

.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

    .error-msg.show {
        display: block;
    }

.success-check {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    display: none;
}

    .success-check.show {
        display: block;
    }

/* Register Button */
.register-btn {
    width: 100%;
    background: linear-gradient(135deg, #00a651 0%, #00d466 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 9px;
}

    .register-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 166, 81, 0.3);
    }

    .register-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

/* Toast Notification */
.toast-msg {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .toast-msg.show {
        transform: translateX(0);
    }

    .toast-msg.success {
        background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    }

    .toast-msg.error {
        background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    }

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    margin-left: auto;
    cursor: pointer;
    opacity: 0.8;
}

    .toast-close:hover {
        opacity: 1;
    }

/* Responsive */
@media (max-width: 1024px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .registration-container {
        padding: 1.5rem;
        max-width: 600px;
    }
    img.pad-logo {
        width: 70%;
    }
    .header-logos {
        padding: 0.5rem 0;
    }

    .emirates-logo {
        height: 45px;
    }

    .admin-event-image {
        min-height: 280px;
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .registration-container {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 20px;
        max-width: 500px;
    }

    .float-icon {
        font-size: 1.5rem;
    }

    .mobile-wrapper {
        flex-direction: inherit;
    }


    .country-select {
        width: 100%;
    }

    .header-logos {
        
        gap: 0.75rem;
        text-align: center;
    }

    .emirates-logo, .pad-logo {
         
    }

    .admin-event-image {
        min-height: 200px;
        max-height: 250px;
    }

    .form-col {
        padding: 1rem;
    }
}

 
