﻿body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #121212, #1e3a2b);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

    .logo img {
        width: 150px;
    }

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #4CAF50;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #4CAF50;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
}

.dropdown-container {
    margin-bottom: 20px;
}

.dropdown-menu-button {
    width: 100%;
    text-align: left;
    background-color: #4CAF50;
    border: none;
}

.dropdown-checkboxes {
    display: none;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
}

    .dropdown-checkboxes.show {
        display: block;
    }

.form-check {
    margin-bottom: 5px;
}

.btn-primary {
    background-color: #4CAF50;
    border: none;
    width: 100%;
    padding: 10px;
}

    .btn-primary:hover {
        background-color: #45a049;
    }

.text-danger {
    color: #ff6b6b;
}

.form-control-file {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
}

#imagePreview {
    gap: 10px;
}

    #imagePreview img {
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 5px;
    }
/* Location Type Selection */
#locationTypeSelection {
    text-align: center;
    margin: 2rem 0;
}

    #locationTypeSelection button {
        margin: 0.5rem;
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Rate Limit Modal */
.rate-limit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rate-limit-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

.rate-limit-modal-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

    .rate-limit-modal-header h3 {
        margin: 0;
        font-weight: 600;
        font-size: 1.5rem;
    }

    .rate-limit-modal-header .icon {
        font-size: 3rem;
        margin-bottom: 10px;
        opacity: 0.9;
    }

.rate-limit-modal-body {
    padding: 30px 25px;
    text-align: center;
}

    .rate-limit-modal-body p {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 25px;
        line-height: 1.6;
    }

.rate-limit-modal-footer {
    padding: 20px 25px;
    text-align: center;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
}

    .rate-limit-modal-footer .btn {
        padding: 12px 30px;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .rate-limit-modal-footer .btn-primary {
        background: linear-gradient(135deg, #007bff, #0056b3);
        border: none;
    }

        .rate-limit-modal-footer .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
        }

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Content blur when modal active */
.content-blurred {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

/* Group feedback styling */
.group-feedback {
    transition: all 0.3s ease;
}

/* Image preview styling */
#imagePreview > div {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#imagePreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    z-index: 10000;
    animation: mobilePopupSlideIn 0.5s ease-out;
    max-width: 90%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

    .mobile-popup .icon {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    .mobile-popup.fade-out {
        animation: mobilePopupFadeOut 0.5s ease-in forwards;
    }

@keyframes mobilePopupSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes mobilePopupFadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Hide on desktop screens */
@media (min-width: 769px) {
    .mobile-popup {
        display: none !important;
    }
}