/* Science of Fortune — Secure Book Reader Styles */
/* Applies to WooCommerce My Account & Shop pages */

:root {
    --sof-brown:       #8B4513;
    --sof-brown-dark:  #5C2D0A;
    --sof-brown-light: #C4874A;
    --sof-cream:       #FDF6E3;
    --sof-gold:        #C9A84C;
}

/* ---- My Books Dashboard Section ---- */
.sof-library {
    margin: 30px 0;
    font-family: Georgia, 'Times New Roman', serif;
}

.sof-library h3 {
    color: var(--sof-brown);
    border-bottom: 2px solid var(--sof-brown-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

.sof-book-card {
    background: linear-gradient(145deg, #FDF6E3, #F5E9CC);
    border: 1px solid var(--sof-brown-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(139, 69, 19, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sof-book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.25);
}

.sof-read-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--sof-brown), var(--sof-brown-light));
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: bold;
    font-family: Georgia, serif;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.35);
    transition: opacity 0.2s;
    letter-spacing: 0.3px;
}

.sof-read-btn:hover {
    opacity: 0.88;
}

/* ---- Order Page Read Button ---- */
.sof-order-read-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--sof-brown), var(--sof-brown-light));
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: bold;
    margin-top: 8px;
    box-shadow: 0 2px 6px rgba(139, 69, 19, 0.3);
    transition: opacity 0.2s;
}

.sof-order-read-btn:hover {
    opacity: 0.88;
}

/* ---- Access Denied Page ---- */
.sof-denied {
    text-align: center;
    padding: 80px 20px;
    font-family: Georgia, serif;
}

.sof-denied h2 {
    color: var(--sof-brown);
    font-size: 28px;
    margin-bottom: 16px;
}

.sof-denied p {
    color: #555;
    font-size: 16px;
    margin-bottom: 24px;
}

.sof-denied .buy-btn {
    background: var(--sof-brown);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.3);
}
