/* Mobile First Design */
#waq-attendance-wrapper {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#waq-attendance-wrapper h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#waq-attendance-form label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

#waq-attendance-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

#waq-attendance-form input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
}

#waq-location-status {
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
    min-height: 20px;
}

#waq-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#waq-submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

#waq-submit-btn:active {
    transform: scale(0.98);
}

#waq-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#waq-attendance-wrapper {
    animation: fadeIn 0.5s ease-out;
}

.waq-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
    fill: currentColor;
}

.waq-input-group {
    position: relative;
    margin-bottom: 15px;
}

.waq-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

#waq-attendance-form input[type="email"] {
    padding-left: 40px;
}

#waq-location-status {
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.waq-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

#waq-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

/* Responsive adjustments for larger screens */
@media (min-width: 768px) {
    #waq-attendance-wrapper {
        max-width: 400px;
    }
}