/* Chrome Extension Download Button & Modal Styles */
.btn-chrome {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    text-decoration: none !important;
}

.btn-chrome .btn-icon-img {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.btn-chrome:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.beta-badge {
    position: absolute;
    top: -2px; /* Moved down slightly to avoid top-edge clipping */
    right: 4px; /* Moved left to avoid right-edge clipping */
    background: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 5;
    white-space: nowrap;
}

/* Modal Specifics */
.chrome-modal-content {
    max-width: 440px !important; /* Slightly more narrow */
    padding: 0 !important;
    background: white !important;
    overflow: hidden !important;
    border-radius: 40px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.chrome-modal-header {
    background: #fcfdfe;
    padding: 24px 24px 16px; /* Reduced padding */
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.chrome-modal-body {
    padding: 16px 24px 24px; /* Reduced padding */
}

.chrome-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px; /* Reduced gap */
    margin-bottom: 16px; /* Reduced margin */
}

.chrome-feature-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 16px; /* Much more compact */
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.chrome-feature-item:hover {
    transform: translateY(-1px);
    background: #f1f3f4;
}

.chrome-feature-text h4 {
    margin: 0;
    font-size: 15px; /* Shrunk font */
    font-weight: 700;
    color: var(--text-primary);
}

.chrome-feature-text p {
    margin: 2px 0 0 0;
    font-size: 13px; /* Shrunk font */
    color: var(--text-secondary);
    line-height: 1.3;
    opacity: 0.8;
}

.chrome-setup-note {
    background: #fdfbef;
    border: 1px solid #f9e8a0;
    padding: 10px 14px; /* More compact */
    border-radius: 12px;
    font-size: 12px; /* Smaller font */
    color: #856404;
    margin-bottom: 16px; /* Margin bottom instead of top for spacing before button */
    text-align: left;
    line-height: 1.4;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chrome-setup-note b {
    color: #533f03;
}

.btn-chrome-download {
    background: #202124 !important;
    color: white !important;
    width: 100%;
    justify-content: center;
    padding: 14px !important; /* Slimmer button */
    font-size: 14px !important; /* Smaller text */
    font-weight: 600 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 16px -4px rgba(32, 33, 36, 0.2) !important;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-chrome-download:hover {
    background: #000 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.3) !important;
}
