/**
 * BT Content Lock - Frontend Styles
 * Minimal lock overlay similar to simplepeptide.com
 */

/* CSS Variables */
:root {
    --bt-content-lock-primary: #FF6600;
    --bt-content-lock-primary-hover: #e55a00;
    --bt-content-lock-border: #FF6600;
    --bt-content-lock-text: #1a1a2e;
}

/* Top Bar Notification */
.bt-content-lock-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bt-content-lock-primary);
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.bt-content-lock-topbar a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.bt-content-lock-topbar a:hover {
    text-decoration: underline;
}

/* Adjust body padding when top bar is present */
body.bt-has-lock-topbar {
    padding-top: 50px !important;
}

/* Admin bar adjustment */
.admin-bar .bt-content-lock-topbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .bt-content-lock-topbar {
        top: 46px;
    }
}

/* Content Lock Wrapper */
.bt-content-lock-wrapper {
    position: relative;
}

/* Teaser Content - No special styling, just regular content */
.bt-content-teaser {
    position: relative;
}

.bt-content-teaser p:last-child {
    margin-bottom: 0;
}

/* Lock Overlay - Simple positioning */
.bt-lock-overlay {
    position: relative;
    margin-top: 20px;
}

/* No gradient - simplepeptide style */
.bt-lock-gradient {
    display: none;
}

/* Lock Box - Simple, minimal design like simplepeptide.com */
.bt-lock-box {
    background: #fff;
    border: 2px solid var(--bt-content-lock-border);
    border-radius: 8px;
    padding: 25px 30px;
    text-align: center;
    max-width: 400px;
    margin: 20px 0;
    box-shadow: none;
    position: relative;
}

/* No decorative glow effect */
.bt-lock-box::before {
    display: none;
}

/* Lock Icon - Hidden for minimal design */
.bt-lock-icon {
    display: none;
}

/* Lock Message - Simple styling */
.bt-lock-message {
    color: var(--bt-content-lock-text);
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* Lock Buttons Container */
.bt-lock-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Lock Buttons - Simple rounded style */
.bt-lock-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    min-width: 120px;
}

/* Primary Button (Login) - Orange pill button */
.bt-lock-button-primary {
    background: var(--bt-content-lock-primary);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.bt-lock-button-primary:hover {
    background: var(--bt-content-lock-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

/* Secondary Button (Shop Now) */
.bt-lock-button-secondary {
    background: transparent;
    color: var(--bt-content-lock-primary) !important;
    border: 2px solid var(--bt-content-lock-primary);
}

.bt-lock-button-secondary:hover {
    background: rgba(255, 102, 0, 0.08);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .bt-lock-box {
        padding: 20px;
        margin: 15px 0;
        border-radius: 6px;
    }

    .bt-lock-message {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .bt-lock-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .bt-lock-button {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }

    .bt-content-lock-topbar {
        font-size: 11px;
        padding: 10px 15px;
        letter-spacing: 0.5px;
    }
}

@media screen and (max-width: 480px) {
    .bt-lock-message {
        font-size: 16px;
    }
}

/* Optional: Subtle entrance animation */
.bt-lock-box {
    animation: bt-lock-fadeIn 0.4s ease-out;
}

@keyframes bt-lock-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}