/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

:root {
    --blue-dark: #003366;
    --blue-mid: #0055a4;
    --green: #2e9e4b;
    --gray-btn: #4d4d4d;
    --gray-light: #f8f8f8;
    --border-light: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   HEADER
   ======================================== */
header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 20px 40px 10px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.top-bar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
}

.logo-area {
    flex-shrink: 0;
}

.logo-area .logo-img {
    height: 150px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-area .logo-img:hover {
    transform: scale(1.02);
}

.search-bar {
    display: flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    height: 42px;
    background: #fff;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.1);
}

.search-bar input {
    flex: 1;
    padding: 0 15px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: transparent;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background: #000;
    color: #fff;
    border: none;
    width: 45px;
    height: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.search-bar button:hover {
    background: #333;
}

.user-actions {
    display: flex;
    gap: 25px;
    flex-shrink: 0;
}

.user-actions .action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 11px;
    transition: var(--transition);
    position: relative;
}

.user-actions .action-item:hover {
    color: var(--blue-mid);
}

.user-actions .action-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.user-actions .action-item:hover i {
    transform: translateY(-2px);
}

nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    padding: 10px 0 0 0;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blue-mid);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: var(--blue-mid);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 400;
    color: #333;
}

.section-header a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: var(--transition);
}

.section-header a:hover {
    color: var(--blue-mid);
}

/* ========================================
   BOOK GRID
   ======================================== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.book-card {
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    padding: 0 0 16px 0;
    position: relative;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.book-card .badge-ribbon {
    position: absolute;
    top: 12px;
    right: -4px;
    padding: 4px 14px 4px 18px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%);
    border-radius: 0 4px 4px 0;
    background: #1a1a1a;
}

.book-card .badge-ribbon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
    opacity: .6;
}

.book-card .badge-ribbon-hidden {
    background: #444;
}

.book-card .badge-ribbon-hidden::after {
    border-top-color: #444;
}

.book-card .card-cover {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
    margin-bottom: 12px;
    border-radius: 4px 4px 0 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.book-card:hover .card-cover {
    box-shadow: var(--shadow-md);
}

.book-card .card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    transition: var(--transition);
}

.book-card:hover .card-cover img {
    transform: scale(1.03);
}

.book-card .card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 12px;
}

.book-card .card-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    transition: var(--transition);
    cursor: pointer;
}

.book-card .card-body h3:hover {
    color: var(--blue-mid);
}

.book-card .card-body .autor {
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
    min-height: 18px;
}

.book-card .card-body .stars {
    color: var(--blue-mid);
    font-size: 12px;
    margin-bottom: 4px;
    min-height: 18px;
    letter-spacing: 1px;
}

.book-card .card-body .price {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 10px;
    min-height: 20px;
}

.btn-read {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: var(--gray-btn);
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    height: 42px;
    line-height: 18px;
    flex-shrink: 0;
    margin-top: auto;
    letter-spacing: .5px;
}

.btn-read:hover {
    background: #222;
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   SKELETON
   ======================================== */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.skeleton-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.skeleton-cover {
    width: 100%;
    height: 280px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    height: 14px;
    margin: 12px 12px 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text.short {
    width: 60%;
    margin: 0 12px 12px;
}

.skeleton-btn {
    height: 42px;
    margin: 0 12px 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   BOOK PROFILE MODAL
   ======================================== */
.book-profile-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn .3s ease;
    backdrop-filter: blur(4px);
}

.book-profile-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(.98); }
    to { opacity: 1; transform: scale(1); }
}

.book-profile-content {
    max-width: 1100px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    margin: 20px auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp .4s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.book-profile-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: 0 0;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-profile-close:hover {
    color: #333;
    background: #f0f0f0;
}

.book-profile-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.book-profile-cover {
    flex: 0 0 300px;
}

.book-profile-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.book-profile-cover img:hover {
    transform: scale(1.02);
}

.book-profile-info {
    flex: 1;
    min-width: 300px;
}

.book-profile-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
}

.book-profile-info .author {
    font-size: 16px;
    color: #777;
    margin-bottom: 8px;
}

.book-profile-info .stars {
    color: var(--blue-mid);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.book-profile-info .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 16px;
}

.book-profile-info .synopsis {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.book-profile-info .synopsis h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.book-profile-info .btn-read-profile {
    display: inline-block;
    padding: 14px 48px;
    background: var(--gray-btn);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    letter-spacing: .5px;
}

.book-profile-info .btn-read-profile:hover {
    background: #222;
    transform: scale(1.03);
    box-shadow: var(--shadow-sm);
}

.book-profile-details {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.book-profile-details .detail-item {
    font-size: 13px;
    color: #666;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: var(--transition);
}

.book-profile-details .detail-item:hover {
    background: #f0f0f0;
}

.book-profile-details .detail-item strong {
    color: #333;
    display: inline-block;
    min-width: 120px;
}

.book-profile-versions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.book-profile-versions .version-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-right: 8px;
}

.book-profile-versions .version-label svg {
    margin-right: 6px;
    color: var(--blue-mid);
}

.book-profile-versions .version-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #555;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.book-profile-versions .version-btn svg {
    margin-right: 4px;
}

.book-profile-versions .version-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.book-profile-versions .version-btn.active {
    background: var(--blue-dark);
    color: #fff;
    border-color: var(--blue-dark);
}

.book-profile-versions .single-version {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-profile-versions .single-version svg {
    margin-right: 6px;
    color: var(--blue-mid);
}

/* ========================================
   READER PAGE
   ======================================== */
.reader-page {
    display: none;
    position: fixed;
    inset: 0;
    background: #f5f5f5;
    z-index: 3000;
    flex-direction: column;
    animation: fadeIn .3s ease;
}

.reader-page.active {
    display: flex;
}

.reader-page .reader-header {
    background: #fff;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reader-page .reader-header .reader-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reader-page .reader-header .reader-title svg {
    color: var(--blue-mid);
}

.reader-page .reader-header .reader-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reader-page .reader-header .reader-actions button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #555;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reader-page .reader-header .reader-actions button:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.reader-page .reader-header .reader-actions .btn-close-reader {
    background: 0 0;
    border: none;
    font-size: 20px;
    color: #999;
    padding: 4px 8px;
}

.reader-page .reader-header .reader-actions .btn-close-reader:hover {
    color: #333;
    background: #f0f0f0;
}

.reader-page .reader-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    overflow: hidden;
    background: #f8f8f8;
}

.reader-page .reader-body .reader-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.reader-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #aaa;
    padding: 40px;
}

.reader-loading .loading-cover {
    width: 180px;
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    border: 1px solid #eee;
}

.reader-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top: 3px solid var(--blue-mid);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.reader-loading .loading-text {
    font-size: 13px;
    color: #999;
    letter-spacing: 1px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   ANIMAÇÃO DE VIRAR PÁGINA
   ======================================== */
.page-flip-animate {
    animation: pageFlip 0.5s ease-in-out;
}

@keyframes pageFlip {
    0% {
        transform: perspective(800px) rotateY(-8deg) scale(0.95);
        opacity: 0.6;
        box-shadow: -20px 0 40px rgba(0,0,0,0.15);
    }
    30% {
        transform: perspective(800px) rotateY(-3deg) scale(0.98);
        opacity: 0.9;
    }
    60% {
        transform: perspective(800px) rotateY(2deg) scale(1.01);
        opacity: 1;
    }
    100% {
        transform: perspective(800px) rotateY(0deg) scale(1);
        opacity: 1;
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }
}

.reader-page .reader-body .reader-area::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.02) 100%);
    z-index: 1;
    border-radius: 12px;
}

.reader-page .reader-body .reader-area canvas {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    border-radius: 2px;
    background: #fff;
}

.reader-page .reader-body .reader-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0 4px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.reader-page .reader-body .reader-controls button {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.reader-page .reader-body .reader-controls button:hover:not(:disabled) {
    background: #e0e0e0;
    color: #333;
    transform: translateY(-1px);
}

.reader-page .reader-body .reader-controls button:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.reader-page .reader-body .reader-controls .page-info {
    color: #555;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 16px;
    background: #f0f0f0;
    border-radius: 100px;
    min-width: 70px;
    text-align: center;
}

.reader-page .reader-body .reader-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 4px;
    width: 100%;
    flex-shrink: 0;
}

.reader-page .reader-body .reader-timeline input[type=range] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e5e5;
    border-radius: 10px;
    outline: 0;
    cursor: pointer;
    transition: var(--transition);
}

.reader-page .reader-body .reader-timeline input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue-dark);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.reader-page .reader-body .reader-timeline input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.reader-page .reader-body .reader-timeline .page-indicator {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.reader-page .reader-body .reader-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 0;
    flex-shrink: 0;
}

.reader-page .reader-body .reader-zoom button {
    background: 0 0;
    color: #aaa;
    border: none;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.reader-page .reader-body .reader-zoom button:hover {
    color: #555;
    background: #f0f0f0;
    transform: scale(1.05);
}

.reader-page .reader-body .reader-zoom .zoom-info {
    color: #aaa;
    font-size: 12px;
    min-width: 45px;
    text-align: center;
}

/* ========================================
   SWIPE INDICATOR
   ======================================== */
.swipe-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.swipe-indicator.show {
    opacity: 1;
}

/* ========================================
   AUDIO PANEL
   ======================================== */
.audio-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 24px 24px;
    z-index: 4000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
}

.audio-panel.active {
    transform: translateY(0);
}

.audio-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.audio-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-current {
    margin-bottom: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.audio-current-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.audio-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.audio-progress input[type=range] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e5e5;
    border-radius: 10px;
    outline: 0;
    cursor: pointer;
    transition: var(--transition);
}

.audio-progress input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue-mid);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.audio-progress input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.audio-controls button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #555;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-controls button:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.audio-controls .audio-play-btn {
    width: 56px;
    height: 56px;
    background: var(--blue-mid);
    color: #fff;
    border: none;
    font-size: 20px;
}

.audio-controls .audio-play-btn:hover {
    background: var(--blue-dark);
    transform: scale(1.05);
}

.audio-chapters {
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.audio-chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.audio-chapter-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    color: #555;
}

.audio-chapter-list li:hover {
    background: #f0f0f0;
}

.audio-chapter-list li.active {
    background: var(--blue-mid);
    color: #fff;
}

.audio-chapter-list li .chapter-num {
    font-weight: 700;
    font-size: 11px;
    color: #aaa;
    min-width: 28px;
}

.audio-chapter-list li.active .chapter-num {
    color: rgba(255, 255, 255, 0.6);
}

.audio-chapter-list li .chapter-title {
    flex: 1;
}

.audio-chapter-list li .chapter-duration {
    font-size: 11px;
    color: #aaa;
}

.audio-chapter-list li.active .chapter-duration {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   NOTIFICAÇÕES MINIMALISTAS COM SVG
   ======================================== */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(-80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 380px;
    border-left: 3px solid #0055a4;
    font-family: "Inter", sans-serif;
    font-size: 13px;
}

.notification-toast svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.notification-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ========================================
   COMPARTILHAMENTO SOCIAL
   ======================================== */
.share-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #0055a4);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-fab:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 51, 102, 0.5);
}

.share-fab:active {
    transform: scale(0.92);
}

.share-fab svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
    fill: none;
}

.share-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    animation: shareFadeIn 0.3s ease;
}

.share-modal.active {
    display: flex;
}

@keyframes shareFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.share-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 32px 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    animation: shareSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes shareSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.share-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    line-height: 1;
    font-weight: 300;
}

.share-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.share-book-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.share-book-info img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    background: #e5e5e5;
}

.share-book-info > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.share-book-info strong {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-book-info span {
    font-size: 13px;
    color: #888;
}

.share-link-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 6px 6px 14px;
    background: #f5f6f8;
    border-radius: 10px;
    border: 1px solid #e8eaed;
}

.share-link-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 12px;
    color: #555;
    font-family: 'Inter', sans-serif;
    outline: none;
    min-width: 0;
}

.share-link-input::selection {
    background: #00336620;
}

.share-link-copy {
    background: #003366;
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.share-link-copy:hover {
    background: #0055a4;
    transform: scale(1.05);
}

.share-link-copy:active {
    transform: scale(0.95);
}

.share-link-copy svg {
    stroke: #fff;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px 12px;
    background: #f5f6f8;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #444;
    min-height: 80px;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.share-btn:active {
    transform: scale(0.95);
}

.share-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.share-btn span {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.3px;
}

.share-btn:nth-child(1) { color: #25D366; }
.share-btn:nth-child(2) { color: #0088cc; }
.share-btn:nth-child(3) { color: #000000; }
.share-btn:nth-child(4) { color: #1877F2; }
.share-btn:nth-child(5) { color: #EA4335; }
.share-btn:nth-child(6) { color: #6c757d; }

.share-btn svg {
    color: currentColor;
}

.share-btn:nth-child(1):hover { background: #25D36610; border-color: #25D36640; }
.share-btn:nth-child(2):hover { background: #0088cc10; border-color: #0088cc40; }
.share-btn:nth-child(3):hover { background: #00000010; border-color: #00000040; }
.share-btn:nth-child(4):hover { background: #1877F210; border-color: #1877F240; }
.share-btn:nth-child(5):hover { background: #EA433510; border-color: #EA433540; }
.share-btn:nth-child(6):hover { background: #6c757d10; border-color: #6c757d40; }

/* ========================================
   PWA - INSTALL BANNER
   ======================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6000;
    background: #fff;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    border-top: 1px solid #e8e8e8;
    animation: slideUpBanner 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
}

.pwa-install-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-install-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-text {
    flex: 1;
    min-width: 0;
}

.pwa-install-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.pwa-install-text span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.pwa-install-btn {
    padding: 8px 20px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.pwa-install-btn:hover {
    background: #0055a4;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 51, 102, 0.25);
}

.pwa-install-close {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.pwa-install-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    text-align: center;
    padding: 30px 0 20px;
    border-top: 1px solid #e5e5e5;
    margin-top: 40px;
    background: #fff;
}

.footer p {
    color: #888;
    font-size: 13px;
}

.footer p span {
    color: var(--blue-mid);
    font-weight: 700;
}

/* ========================================
   NO RESULTS
   ======================================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    grid-column: 1/-1;
}

.no-results svg {
    color: #ddd;
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 20px;
    color: #555;
    margin-bottom: 8px;
}

.no-results p {
    color: #999;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: 0 0;
}

::-webkit-scrollbar-thumb {
    background: var(--blue-mid);
    border-radius: 10px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    header { padding: 15px 30px 10px; }
    .top-bar { gap: 15px; }
    .logo-area .logo-img { height: 120px; }
    .nav-menu { gap: 25px; }
}

@media (max-width: 768px) {
    header { padding: 12px 16px 8px; }
    .top-bar { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .logo-area .logo-img { height: 80px; }
    .search-bar { max-width: 100%; height: 38px; order: 3; flex: 1 1 100%; }
    .user-actions { gap: 15px; }
    .user-actions .action-item { font-size: 10px; }
    .user-actions .action-item i { font-size: 16px; }
    nav { overflow-x: auto; justify-content: flex-start; padding-bottom: 5px; width: 100%; -webkit-overflow-scrolling: touch; }
    .nav-menu { gap: 16px; white-space: nowrap; }
    .nav-menu li a { font-size: 13px; padding-bottom: 8px; }
    .main-content { padding: 20px 16px 40px; }
    .books-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
    .book-card .card-cover { height: 220px; }
    .btn-read { font-size: 10px; padding: 10px 0; height: 38px; }
    .book-profile-layout { flex-direction: column; align-items: center; }
    .book-profile-cover { flex: 0 0 auto; max-width: 250px; }
    .book-profile-details { grid-template-columns: 1fr; }
    .book-profile-content { padding: 20px; margin: 10px; }
    .book-profile-info h1 { font-size: 22px; }
    .section-header h2 { font-size: 18px; }
    .reader-page .reader-header { padding: 10px 16px; }
    .reader-page .reader-header .reader-title { font-size: 14px; }
    .reader-page .reader-body { padding: 12px 16px; }
    .reader-page .reader-body .reader-area { min-height: 300px; }
    .reader-page .reader-body .reader-area canvas { max-height: 55vh; }
    .reader-page .reader-body .reader-controls button { padding: 4px 12px; font-size: 11px; min-width: 45px; }
    .reader-loading .loading-cover { width: 130px; height: 180px; }
    .audio-panel { padding: 12px 16px 20px; border-radius: 12px 12px 0 0; }
    .audio-controls button { width: 38px; height: 38px; font-size: 14px; }
    .audio-controls .audio-play-btn { width: 48px; height: 48px; font-size: 18px; }
    .audio-panel-title { font-size: 14px; }
    .share-modal-content { padding: 24px 20px 28px; max-width: 100%; margin: 0 10px; border-radius: 16px; }
    .share-options { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .share-btn { min-height: 70px; padding: 12px 6px 10px; font-size: 10px; border-radius: 10px; }
    .share-btn svg { width: 24px; height: 24px; }
    .share-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .share-fab svg { width: 22px; height: 22px; }
    .share-book-info { padding: 12px 14px; gap: 14px; }
    .share-book-info img { width: 50px; height: 68px; }
    .share-book-info strong { font-size: 14px; }
    .share-modal-header h3 { font-size: 17px; }
    .notification-toast { top: 16px; right: 16px; left: 16px; max-width: none; padding: 8px 14px; border-radius: 8px; font-size: 12px; }
    .notification-toast svg { width: 16px; height: 16px; }
}

@media (max-width: 480px) {
    .logo-area .logo-img { height: 55px; }
    .books-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
    .book-card .card-cover { height: 190px; }
    .section-header h2 { font-size: 16px; }
    .user-actions { gap: 10px; }
    .user-actions .action-item { font-size: 9px; }
    .user-actions .action-item i { font-size: 14px; }
    .book-profile-content { padding: 16px; }
    .book-profile-info h1 { font-size: 20px; }
    .book-profile-cover { max-width: 200px; }
    .book-profile-info .btn-read-profile { padding: 12px 32px; font-size: 12px; width: 100%; text-align: center; }
    .book-profile-details .detail-item { font-size: 12px; padding: 6px 10px; }
    .book-profile-details .detail-item strong { min-width: 90px; }
    .reader-page .reader-header .reader-title { font-size: 12px; }
    .reader-page .reader-header .reader-actions button { padding: 4px 10px; font-size: 10px; }
    .reader-page .reader-body .reader-area { min-height: 250px; }
    .reader-page .reader-body .reader-area canvas { max-height: 50vh; }
    .reader-loading .loading-cover { width: 100px; height: 140px; }
    .audio-panel { padding: 10px 12px 16px; max-height: 60vh; }
    .audio-current { padding: 8px 12px; }
    .audio-chapter-list li { padding: 6px 10px; font-size: 12px; }
    .share-modal-content { padding: 18px 14px 22px; border-radius: 14px; }
    .share-options { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .share-btn { min-height: 60px; padding: 10px 4px 8px; font-size: 9px; border-radius: 10px; gap: 4px; }
    .share-btn svg { width: 20px; height: 20px; }
    .share-btn span { font-size: 8px; }
    .share-modal-header h3 { font-size: 15px; }
    .share-modal-close { font-size: 18px; }
    .share-fab { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .share-fab svg { width: 20px; height: 20px; }
    .share-book-info { padding: 10px 12px; gap: 12px; border-radius: 10px; }
    .share-book-info img { width: 42px; height: 56px; border-radius: 6px; }
    .share-book-info strong { font-size: 13px; }
    .share-book-info span { font-size: 11px; }
    .share-link-container { padding: 4px 4px 4px 12px; border-radius: 8px; }
    .share-link-input { font-size: 11px; padding: 6px 0; }
    .share-link-copy { padding: 6px 10px; border-radius: 6px; }
    .share-link-copy svg { width: 16px; height: 16px; }
    .notification-toast { top: 12px; right: 12px; left: 12px; padding: 8px 12px; font-size: 12px; border-radius: 8px; }
    .notification-toast svg { width: 14px; height: 14px; }
    .pwa-install-banner { padding: 12px 16px; }
    .pwa-install-content { gap: 10px; }
    .pwa-install-icon { width: 36px; height: 36px; border-radius: 8px; }
    .pwa-install-text strong { font-size: 13px; }
    .pwa-install-text span { font-size: 11px; }
    .pwa-install-btn { padding: 6px 14px; font-size: 12px; }
}

/* ========================================
   DARK MODE
   ======================================== */
body.dark-mode .share-modal-content {
    background: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .share-modal-header {
    border-bottom-color: #444;
}

body.dark-mode .share-modal-header h3 {
    color: #e0e0e0;
}

body.dark-mode .share-modal-close {
    color: #888;
}

body.dark-mode .share-modal-close:hover {
    background: #3a3a3a;
    color: #e0e0e0;
}

body.dark-mode .share-book-info {
    background: #333;
    border-color: #444;
}

body.dark-mode .share-book-info strong {
    color: #e0e0e0;
}

body.dark-mode .share-book-info span {
    color: #999;
}

body.dark-mode .share-btn {
    background: #333;
    border-color: #444;
    color: #ccc;
}

body.dark-mode .share-btn:hover {
    border-color: #666;
}

body.dark-mode .pwa-install-banner {
    background: #2a2a2a;
    border-top-color: #444;
}

body.dark-mode .pwa-install-text strong {
    color: #e0e0e0;
}

body.dark-mode .pwa-install-text span {
    color: #999;
}

body.dark-mode .pwa-install-close {
    color: #888;
}

body.dark-mode .pwa-install-close:hover {
    background: #3a3a3a;
    color: #e0e0e0;
}

body.dark-mode .notification-toast {
    background: #2a2a2a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .notification-toast span {
    color: #e0e0e0 !important;
}

body.dark-mode .notification-toast button svg {
    stroke: #666 !important;
}

body.dark-mode .notification-toast button:hover svg {
    stroke: #aaa !important;
}

body.dark-mode .share-link-container {
    background: #333;
    border-color: #444;
}

body.dark-mode .share-link-input {
    color: #ccc;
}

body.dark-mode .share-link-copy {
    background: #0055a4;
}

body.dark-mode .share-link-copy:hover {
    background: #0066c0;
}


/* ========================================
   BOTÃO SHARE NO PERFIL - VERSÃO COMPACTA
   ======================================== */
.btn-share-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    color: #555;
    border: 1.5px solid #d0d0d0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
    letter-spacing: .5px;
}

.btn-share-profile:hover {
    background: #f0f4ff;
    border-color: #003366;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.15);
}

.btn-share-profile:active {
    transform: scale(0.96);
}

.btn-share-profile svg {
    stroke: #555;
    transition: stroke 0.3s;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.btn-share-profile:hover svg {
    stroke: #003366;
}

/* Container dos botões no perfil */
.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.profile-actions .btn-read-profile {
    flex: 1;
    min-width: 120px;
}

.profile-actions .btn-share-profile {
    flex: 0 0 auto;
}

/* Responsivo */
@media (max-width: 480px) {
    .btn-share-profile {
        padding: 8px 14px;
        font-size: 11px;
        flex: 1;
    }
    
    .btn-share-profile svg {
        width: 14px;
        height: 14px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn-read-profile,
    .profile-actions .btn-share-profile {
        flex: 1;
        width: 100%;
    }
}


/* ========================================
   BOTÃO SHARE NO PERFIL - VERSÃO COMPACTA
   ======================================== */
.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.profile-actions .btn-read-profile {
    flex: 1;
    min-width: 120px;
}

.btn-share-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    color: #555;
    border: 1.5px solid #d0d0d0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
    letter-spacing: .5px;
}

.btn-share-profile:hover {
    background: #f0f4ff;
    border-color: #003366;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.15);
}

.btn-share-profile:active {
    transform: scale(0.96);
}

.btn-share-profile svg {
    stroke: #555;
    transition: stroke 0.3s;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.btn-share-profile:hover svg {
    stroke: #003366;
}

/* Responsivo */
@media (max-width: 480px) {
    .btn-share-profile {
        padding: 8px 14px;
        font-size: 11px;
        flex: 1;
    }
    
    .btn-share-profile svg {
        width: 14px;
        height: 14px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn-read-profile,
    .profile-actions .btn-share-profile {
        flex: 1;
        width: 100%;
    }
}
