/* Kollajell Attribution Modal Styles */

.kollajell-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none !important;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.kollajell-modal.show {
    display: flex !important;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.kollajell-modal-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kollajell-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.kollajell-modal-content p {
    margin: 0 0 25px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.kollajell-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.kollajell-modal-close:hover {
    color: #333;
}

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

#attribution-source {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

#attribution-source:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.kollajell-btn-submit {
    width: 100%;
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.kollajell-btn-submit:active {
    transform: scale(0.98);
}

/* Admin order details styling */
.kollajell-order-attribution {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.kollajell-order-attribution h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kollajell-order-attribution p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

/* Responsive */
@media (max-width: 600px) {
    .kollajell-modal-content {
        padding: 30px 20px;
        border-radius: 6px;
    }

    .kollajell-modal-content h3 {
        font-size: 20px;
    }

    .kollajell-modal-content p {
        font-size: 14px;
    }
}
