.cosmosfala-mapa-astral-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    color: #333;
    --theme-color: #6b46c1;
    --theme-color-light: rgba(107, 70, 193, 0.1);
    --theme-color-medium: rgba(107, 70, 193, 0.5);
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Formulário */
.cosmosfala-mapa-astral-form-container {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.cosmosfala-mapa-astral-title {
    color: var(--theme-color);
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.cosmosfala-mapa-astral-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

/* Layout 2x2 para o formulário */
.cosmosfala-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.cosmosfala-form-row .cosmosfala-form-group {
    flex: 1;
    min-width: 250px;
}

.cosmosfala-form-group {
    margin-bottom: 20px;
}

.cosmosfala-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.cosmosfala-form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s;
}

.cosmosfala-form-group input[type="text"]:focus {
    border-color: var(--theme-color);
    outline: none;
    box-shadow: 0 0 0 2px var(--theme-color-light);
}

.cosmosfala-privacy-policy {
    display: flex;
    align-items: flex-start;
}

.cosmosfala-privacy-policy input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
}

.cosmosfala-privacy-policy label {
    font-weight: normal;
    font-size: 14px;
}

.cosmosfala-privacy-policy a {
    color: var(--theme-color);
    text-decoration: none;
}

.cosmosfala-privacy-policy a:hover {
    text-decoration: underline;
}

.cosmosfala-form-submit {
    text-align: center;
    margin-top: 30px;
}

.cosmosfala-submit-button {
    background-color: var(--theme-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s;
}

.cosmosfala-submit-button:hover {
    background-color: var(--theme-color-medium);
}

/* Mensagem de carregamento */
.cosmosfala-loading {
    margin-top: 15px;
    color: var(--theme-color);
    font-style: italic;
}

/* Resultado do Mapa Astral */
.cosmosfala-mapa-astral-result {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.cosmosfala-result-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cosmosfala-result-header h2 {
    color: var(--theme-color);
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

.cosmosfala-result-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.cosmosfala-result-date {
    color: #666;
    font-size: 16px;
}

.cosmosfala-result-main {
    margin-bottom: 30px;
}

.cosmosfala-result-summary {
    background-color: var(--theme-color-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.cosmosfala-result-summary p {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.6;
}

.cosmosfala-result-summary strong {
    color: var(--theme-color);
}

.cosmosfala-result-signs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.cosmosfala-sign-card {
    flex: 1;
    min-width: 300px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cosmosfala-sign-header {
    background-color: var(--theme-color);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
}

.cosmosfala-sign-symbol {
    font-size: 24px;
    margin-right: 10px;
}

.cosmosfala-sign-header h3 {
    margin: 0;
    font-size: 18px;
}

.cosmosfala-sign-content {
    padding: 20px;
}

.cosmosfala-sign-content h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--theme-color);
    font-size: 20px;
}

.cosmosfala-sign-element,
.cosmosfala-sign-planet {
    margin-bottom: 10px;
}

.cosmosfala-sign-traits ul {
    margin-top: 5px;
    padding-left: 20px;
}

.cosmosfala-sign-traits li {
    margin-bottom: 5px;
}

.cosmosfala-result-planets,
.cosmosfala-result-houses {
    margin-bottom: 30px;
}

.cosmosfala-result-planets h3,
.cosmosfala-result-houses h3 {
    color: var(--theme-color);
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cosmosfala-planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.cosmosfala-planet-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cosmosfala-planet-symbol {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--theme-color);
}

.cosmosfala-planet-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.cosmosfala-houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.cosmosfala-house-item {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cosmosfala-house-header {
    background-color: var(--theme-color-light);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cosmosfala-house-number {
    font-weight: bold;
}

.cosmosfala-house-content {
    padding: 15px;
}

.cosmosfala-house-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--theme-color);
}

.cosmosfala-house-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cosmosfala-result-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cosmosfala-share-buttons h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #444;
}

/* Botões de compartilhamento modernos */
.cosmosfala-share-icons {
    display: flex;
    gap: 15px;
}

.cosmosfala-share-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cosmosfala-share-icons a:before {
    font-family: dashicons;
    font-size: 22px;
    position: relative;
    z-index: 2;
}

/* Efeito de gradiente e hover */
.cosmosfala-share-icons a:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    z-index: 1;
}

.cosmosfala-share-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Ícones específicos e cores */
.cosmosfala-share-facebook {
    background: linear-gradient(45deg, #3b5998, #4c70ba);
}

.cosmosfala-share-facebook:before {
    content: "\f305";
}

.cosmosfala-share-twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8ecf);
}

.cosmosfala-share-twitter:before {
    content: "\f301";
}

.cosmosfala-share-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.cosmosfala-share-whatsapp:before {
    content: "\f19a";
}

/* Animação de pulso nos botões */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.cosmosfala-share-icons a:hover {
    animation: pulse 1s infinite;
}

/* Botão de novo mapa astral com texto sempre branco */
.cosmosfala-new-chart-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--theme-color), var(--theme-color-medium));
    color: white !important; /* Força o texto a ser branco */
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cosmosfala-new-chart-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    z-index: 1;
}

.cosmosfala-new-chart-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: white !important; /* Mantém o texto branco mesmo ao passar o mouse */
}

/* Responsividade aprimorada para celulares */
@media (max-width: 768px) {
    /* Ajustes para o formulário */
    .cosmosfala-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .cosmosfala-mapa-astral-form-container {
        padding: 20px 15px;
    }
    
    .cosmosfala-mapa-astral-title {
        font-size: 24px;
    }
    
    /* Ajustes para os resultados */
    .cosmosfala-mapa-astral-result {
        padding: 20px 15px;
    }
    
    .cosmosfala-result-signs {
        flex-direction: column;
    }
    
    .cosmosfala-sign-card {
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .cosmosfala-planets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cosmosfala-houses-grid {
        grid-template-columns: 1fr;
    }
    
    .cosmosfala-result-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cosmosfala-share-buttons {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cosmosfala-share-icons {
        justify-content: center;
    }
    
    .cosmosfala-new-chart {
        width: 100%;
    }
    
    .cosmosfala-new-chart-button {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    /* Ajustes para textos */
    .cosmosfala-result-header h2 {
        font-size: 22px;
    }
    
    .cosmosfala-result-name {
        font-size: 18px;
    }
    
    .cosmosfala-result-date {
        font-size: 14px;
    }
    
    .cosmosfala-result-summary p {
        font-size: 15px;
    }
    
    .cosmosfala-result-planets h3,
    .cosmosfala-result-houses h3 {
        font-size: 20px;
    }
    
    .cosmosfala-house-content p {
        font-size: 13px;
    }
}

/* Temas */
.cosmosfala-mapa-astral-container.theme-dark {
    --theme-color: #8a2be2;
    --theme-color-light: rgba(138, 43, 226, 0.1);
    --theme-color-medium: rgba(138, 43, 226, 0.5);
}

.cosmosfala-mapa-astral-container.theme-light {
    --theme-color: #9370db;
    --theme-color-light: rgba(147, 112, 219, 0.1);
    --theme-color-medium: rgba(147, 112, 219, 0.5);
}

.cosmosfala-mapa-astral-container.theme-cosmic {
    --theme-color: #483d8b;
    --theme-color-light: rgba(72, 61, 139, 0.1);
    --theme-color-medium: rgba(72, 61, 139, 0.5);
}
