.bg-gradient-primary {
    background: linear-gradient(135deg, #db1010 0%, #4a167e 25%, #3916b6 50%, #2db62d 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
    .modal-custom {
        max-width: 1100px;
    }
}

.credential-badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.password-display {
    background: white;
    border: 1px dashed #adb5bd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.copy-btn-mini {
    background: transparent;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.copy-btn-mini:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #b14e4e9c;
}

.copy-btn-mini.copied {
    background: #28a745;
    color: white;
}
.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 0;
}
.store-card-mini {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.store-card-mini:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(66, 89, 189, 0.25);
    border-color: #d132329a;
}

.store-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.store-badge .badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.store-image-mini {
    height: 140px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.store-image-mini::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.store-card-mini:hover .store-image-mini::before {
    opacity: 1;
}

.store-image-mini img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.store-card-mini:hover .store-image-mini img {
    transform: scale(1.1) rotate(2deg);
}

.store-content-mini {
    padding: 12px;
    text-align: center;
    background: white;
}

.store-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.store-desc {
    font-size: 0.75rem;
    color: #718096;
    margin: 0;
}

.store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 111, 234, 0.95) 0%, rgba(223, 18, 18, 0.493) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.store-card-mini:hover .store-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.store-card-mini:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content svg {
    margin-bottom: 8px;
    animation: checkPulse 1s ease infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.overlay-content span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.info-banner {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #0c4a6e;
}

.info-banner svg {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .store-image-mini {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .credential-badge {
        flex-direction: column;
        gap: 8px !important;
        padding: 12px !important;
    }
    
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .store-image-mini {
        height: 100px;
    }
    
    .store-title {
        font-size: 0.8rem;
    }
    
    .store-desc {
        font-size: 0.7rem;
    }
    
    .store-badge .badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .info-banner {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}

@media (max-width: 400px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .store-card-mini {
        max-width: 100%;
    }
}

.modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

@media print {
    .modal {
        display: none !important;
    }
}

.store-card-mini:focus,
.copy-btn-mini:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.bg-purple{
    background-color: #764ba2;
}