
.material-cover {
    height: 240px;
    width: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.side-box {
    background: #fff;
    border: 1px solid #eaeaea;
}

.related-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: .2s;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.related-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.related-title {
    font-weight: 600;
    font-size: .95rem;
    color: #222;
}
.login-box {
    border-color: #ffe9a3 !important;
}

.material-hero-light {
    background: linear-gradient(180deg, #e8f5ee 0%, #f5fbff 100%);
    border-bottom: 1px solid #d6e8df;
}

/* Imagem maior e com visual premium */
.material-cover-large {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
    object-fit: contain;
}

/* Título mais suave e elegante */
.material-title-light {
    font-size: 1.85rem;
    color: #145c38;
    line-height: 1.3;
}

/* Badge mais suave */
.material-hero-light .badge {
    font-size: 0.9rem;
}

.fav-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    position: relative;
    transition: .2s;
}
.fav-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.07);
}

.fav-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: #f8f8f8;
}

.fav-title {
    font-size: .95rem;
    line-height: 1.3;
}

/* Botão remover (canto superior direito) */
.remove-fav-form {
    position: absolute;
    top: 8px;
    right: 8px;
}
.remove-fav-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #dc3545;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.remove-fav-btn:hover {
    background: #fff;
    color: #b02a37;
}

.material-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: .2s;
}
.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.07);
}

.material-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: #f8f8f8;
}

.material-info {
    padding: 12px;
}

.material-title {
    font-weight: 600;
    font-size: .95rem;
    color: #222;
}

.material-desc {
    font-size: .85rem;
    color: #666;
}
