/* Shared Modal Styles for Olho Urbano */
/* Contains styling for vote verification modal and other shared modals */

/* Vote Verification Modal Styles */
#voteVerificationModal .modal-dialog {
    max-width: 500px;
}

#voteVerificationModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    overflow: hidden;
}

#voteVerificationModal .modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

#voteVerificationModal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

#voteVerificationModal .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

#voteVerificationModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#voteVerificationModal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#voteVerificationModal .modal-body {
    padding: 2rem;
    background: white;
}

#voteVerificationModal .alert-info {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #2196f3;
    color: #1565c0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

#voteVerificationModal .alert-info i {
    color: #1976d2;
}

#voteVerificationModal .form-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#voteVerificationModal .form-label i {
    color: #007bff;
    font-size: 1.1rem;
}

#voteVerificationModal .form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

#voteVerificationModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    background: white;
    transform: translateY(-1px);
}

#voteVerificationModal .form-text {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#voteVerificationModal .form-text i {
    font-size: 1rem;
    color: #28a745;
}

#voteVerificationModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

#voteVerificationModal .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
}

#voteVerificationModal .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

#voteVerificationModal .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

#voteVerificationModal .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

#voteVerificationModal .btn-secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

#voteVerificationModal .btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

#voteVerificationModal .btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

/* Shared verification status styles */
.verification-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.verification-status.success {
    background: linear-gradient(135deg, #d1edff, #e8f5e8);
    border: 2px solid #28a745;
    color: #155724;
}

.verification-status.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #dc3545;
    color: #721c24;
}

.verification-status.loading {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    color: #856404;
}

/* Responsive adjustments for vote modal */
@media (max-width: 768px) {
    #voteVerificationModal .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    #voteVerificationModal .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    #voteVerificationModal .modal-title {
        font-size: 1.2rem;
    }
    
    #voteVerificationModal .modal-body {
        padding: 1.5rem;
    }
    
    #voteVerificationModal .modal-footer {
        padding: 1.25rem 1.5rem;
    }
    
    #voteVerificationModal .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    #voteVerificationModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    #voteVerificationModal .modal-header {
        padding: 1rem 1.25rem;
    }
    
    #voteVerificationModal .modal-title {
        font-size: 1.1rem;
    }
    
    #voteVerificationModal .modal-body {
        padding: 1.25rem;
    }
    
    #voteVerificationModal .modal-footer {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #voteVerificationModal .btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* Animation for fade in effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
