/* CSS da Rede Social - Breadcrumb e componentes compartilhados */

/* Badges de Tipo de Post */
.type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.type-badge.type-foto {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.type-badge.type-video {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    border-color: #f093fb;
}

.type-badge.type-antes_depois {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border-color: #4facfe;
}

.type-badge.type-enquete {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    border-color: #43e97b;
}

.type-badge.type-checklist {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
    border-color: #fa709a;
}

.type-badge.type-guia {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
    border-color: #a8edea;
}

.type-badge.type-setup_update {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    color: #333;
    border-color: #ffecd2;
}

.type-badge.type-texto {
    background: linear-gradient(135deg, #e0c3fc, #9bb5ff);
    color: white;
    border-color: #e0c3fc;
}

/* Landing page onboarding (users without perfil social) */
.social-landing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.social-landing .landing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.social-landing .landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.social-landing .hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-landing .hero-message {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 640px;
}

.social-landing .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-landing .btn-large {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-landing .btn-large:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-landing .landing-features {
    margin-bottom: 80px;
}

.social-landing .features-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 50px;
}

.social-landing .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.social-landing .feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-landing .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-landing .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.social-landing .feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.social-landing .feature-card p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.social-landing .landing-preview {
    background: #f7fafc;
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 80px;
}

.social-landing .preview-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
}

.social-landing .preview-posts {
    max-width: 600px;
    margin: 0 auto;
}

.social-landing .preview-post {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.social-landing .preview-post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-landing .preview-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.social-landing .preview-author {
    flex: 1;
}

.social-landing .preview-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.social-landing .preview-time {
    font-size: 0.9rem;
    color: #718096;
}

.social-landing .preview-content-text {
    margin-bottom: 15px;
}

.social-landing .preview-content-text p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.social-landing .preview-stats {
    display: flex;
    gap: 20px;
}

.social-landing .preview-stat {
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-landing .landing-benefits {
    margin-bottom: 80px;
}

.social-landing .benefits-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 50px;
}

.social-landing .benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.social-landing .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.social-landing .benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.social-landing .benefit-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.social-landing .benefit-content p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.social-landing .landing-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.social-landing .landing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.25;
}

.social-landing .cta-content {
    position: relative;
    z-index: 1;
}

.social-landing .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.social-landing .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.social-landing .cta-actions {
    margin-bottom: 30px;
}

.social-landing .cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
    color: #fff;
}

.social-landing .note-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .social-landing {
        padding: 15px;
    }

    .social-landing .landing-hero {
        padding: 25px 20px;
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .social-landing .hero-message {
        font-size: 1.05rem;
    }

    .social-landing .btn-large {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .social-landing .features-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .social-landing .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-landing .feature-card {
        padding: 30px 20px;
    }

    .social-landing .landing-preview {
        padding: 30px 20px;
        margin-bottom: 50px;
    }

    .social-landing .preview-title {
        font-size: 1.8rem;
    }

    .social-landing .landing-benefits {
        margin-bottom: 50px;
    }

    .social-landing .benefits-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .social-landing .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .social-landing .landing-cta {
        padding: 40px 20px;
    }

    .social-landing .cta-content h2 {
        font-size: 2rem;
    }

    .social-landing .cta-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .social-landing .hero-message {
        font-size: 0.95rem;
    }

    .social-landing .btn-large {
        width: 100%;
        justify-content: center;
    }

    .social-landing .preview-post {
        padding: 18px;
    }
}

@keyframes social-hero-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.social-landing .hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: social-hero-float 3s ease-in-out infinite;
}

/* Modal de Imagens */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 80vw;
    max-height: 80vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 80vh;
    width: 100%;
}

.modal-image-container img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

.modal-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Carrossel Mobile - Sempre ativo no mobile */
@media (max-width: 768px) {
    .post-media {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 8px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .post-media .media-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-width: 200px;
        max-width: 80vw;
    }
    
    .post-media .media-image {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-image-container {
        max-height: 85vh;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Desktop - Imagens menores, modal maior */
@media (min-width: 769px) {
    .posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .post-media {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 8px;
    }
    
    .post-media .media-item {
        position: relative;
    }
    
    .post-media .media-image {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
        border-radius: 8px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    
    .post-media .media-image:hover {
        transform: scale(1.05);
    }
    
    .modal-content {
        max-width: 80vw;
        max-height: 80vh;
    }
    
    .modal-image-container {
        max-width: 1200px;
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
    }
}

/* Avatares */
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.author-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-avatar .avatar-placeholder {
    font-size: 20px;
    color: #666;
}

/* Breadcrumb Social - Full Width Header Style */
.breadcrumb-social {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 22px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(120deg, #667eea, #764ba2, #667eea);
    background-size: 200% 200%;
    border-radius: 28px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    min-height: 48px;
    gap: 0.2em;
    border: 2px solid #667eea;
    animation: breadcrumb-social-gradient-move 6s ease-in-out infinite;
    transition: background 0.5s, border 0.3s;

    /* Full-width dentro da protected-div-tool-access */
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    border-radius: 0;
    box-sizing: border-box;
}

@keyframes breadcrumb-social-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.breadcrumb-social .breadcrumb-home,
.breadcrumb-social .breadcrumb-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s, background 0.3s;
    padding: 6px 14px;
    border-radius: 16px;
}

.breadcrumb-social .breadcrumb-home:hover,
.breadcrumb-social .breadcrumb-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.10);
}

.breadcrumb-social .breadcrumb-icon {
    font-size: 1.3rem;
    margin-right: 7px;
}

.breadcrumb-social .breadcrumb-text {
    font-weight: 600;
}

.breadcrumb-social .breadcrumb-separator {
    margin: 0 8px;
    font-size: 1.1rem;
    color: #e0e7ff;
    font-weight: bold;
}

.breadcrumb-social .breadcrumb-current {
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.13);
    border-radius: 16px;
    padding: 6px 16px;
    border: 1.5px solid #a5b4fc;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

/* Responsividade do breadcrumb social */
@media (max-width: 600px) {
    .breadcrumb-social {
        font-size: 0.88rem;
        padding: 7px 12px;
        min-height: 34px;
        /* Manter full-width no mobile - container tem padding 20px */
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -20px;
    }

    .breadcrumb-social .breadcrumb-home,
    .breadcrumb-social .breadcrumb-item,
    .breadcrumb-social .breadcrumb-current {
        padding: 3px 7px;
        border-radius: 8px;
    }

    .breadcrumb-social .breadcrumb-icon {
        font-size: 1.1rem;
        margin-right: 5px;
    }

    .breadcrumb-social .breadcrumb-separator {
        margin: 0 4px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-social {
        font-size: 0.8rem;
        padding: 6px 8px;
        gap: 0.1em;
        /* Manter full-width no mobile pequeno - container tem padding 15px */
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        margin-top: -15px;
    }

    .breadcrumb-social .breadcrumb-text {
        font-weight: 500;
    }
}

/* Estilos compartilhados da rede social */
.social-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.social-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.social-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn-active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-text {
    font-size: 0.95rem;
}

/* Responsividade geral */
@media (max-width: 768px) {
    .social-container {
        padding: 15px;
    }

    .social-header {
        padding: 20px 15px;
    }

    .social-navigation {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 300px;
    }

    .nav-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 20px;
    }

    .nav-text {
        font-size: 1rem;
    }
}

/* === SISTEMA DE NOTIFICAÇÕES === */
.notifications-container {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    max-height: 400px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow: hidden;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.notifications-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.notifications-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.notification-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
}

.notification-actions {
    margin-top: 8px;
}

.empty-notifications {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-notifications .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* Responsividade do dropdown de notificações */
@media (max-width: 768px) {
    .notifications-dropdown {
        width: 300px;
        right: -50px;
    }
    
    .notification-item {
        padding: 10px 12px;
    }
    
    .notification-text {
        font-size: 0.8rem;
    }
}

/* === PÁGINA DE CADASTRO === */
.signup-card {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.signup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.signup-header h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
}

.signup-header p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
}

.signup-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.label-icon {
    font-size: 1.2rem;
}

.label-required {
    color: #dc3545;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-help {
    font-size: 0.85rem;
    color: #666;
    margin-top: 6px;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #999;
    margin-top: 4px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #764ba2;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #ccc;
}

.btn-icon {
    font-size: 1.1rem;
}

/* Alertas */
.alert-error,
.alert-success {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-error {
    background: #fee;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-error strong,
.alert-success strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

/* Responsividade da página de cadastro */
@media (max-width: 768px) {
    .signup-card {
        margin: 20px 10px;
        border-radius: 12px;
    }

    .signup-header {
        padding: 30px 20px;
    }

    .signup-header h1 {
        font-size: 1.6rem;
    }

    .signup-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
