﻿.form-control {
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 0.15rem rgba(37,99,235,0.2);
    }

.topic-item span, .consent-item span, .subscribe__one .form-label {
    color: white;
}
 
.topics-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
    cursor: pointer;
    user-select: none;
}

    .topic-item input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #154abf;
    }

 
.consent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

    .consent-item input {
        width: 16px;
        height: 16px;
        accent-color: #154abf;
    }

.subscribe__one-title {
    margin-bottom: 0;
}



.btn-vip {
    color: #fff;
    background-color: #154abf;
    border-color: #154abf;
}

    .btn-vip:hover {
        color: black;
        background-color: #fff;
        border-color: #fff;
        transition: 0.4s;
    }

#selectTopicsBtn {
    height: max-content !important;
    justify-content: center;
    align-items: center;
    display: flex;
}

#selectTopicsBtn {
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    border-radius: 25px
}

    #selectTopicsBtn:hover {
        box-shadow: 0 0 0 2px var(--bs-primary);
        border-color: var(--bs-primary);
    }


.topics-modal {
    border-radius: 16px !important;
    padding: 2rem 0.25rem !important;
}

.topics-confirm-btn {
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

.topics-cancel-btn {
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    box-shadow: none !important;
}

    .topics-cancel-btn:hover {
        background-color: #cbd5e0 !important;
    }

.swal2-checkbox-item:hover {
    background-color: transparent;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-badge {
    animation: pulse 2s ease-in-out infinite;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}


.topics-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
}

    .topics-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 12px;
        padding: 2px;
        background: linear-gradient(135deg, #a8b8ff, #d8a4ff);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s;
    }

    .topics-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    }

        .topics-btn:hover::before {
            opacity: 1;
        }

    .topics-btn:active {
        transform: translateY(-1px) scale(1.01);
    }

/* Shine Effect */
@keyframes shine {
    0% {
        left: -100%;
    }

    20%, 100% {
        left: 100%;
    }
}

.topics-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

.topics-btn-content {
    position: relative;
    z-index: 1;
}

.topic-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.topics-btn:hover .topic-icon-circle {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(10deg) scale(1.1);
}

.topics-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.topics-btn:hover .topics-arrow {
    transform: translateX(5px);
}

.topic-text {
    text-align: left;
}

#selectedTopicsText {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.btn-outline-primary {
    color: white
}

@media (max-width: 768px) {
    .swal2-popup {
        width: 90% !important;
    }

    .topics-btn {
        padding: 1rem !important;
    }

    .topic-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .pulse-badge {
        display: none;
    }
}