/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ff0000 0%, #ffffff 50%, #ff0000 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Efeito de Neve */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: snowfall 10s linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.snowflake:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 12s; }
.snowflake:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 10s; }
.snowflake:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 14s; }
.snowflake:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 9s; }
.snowflake:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 11s; }
.snowflake:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 13s; }
.snowflake:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 15s; }

@keyframes snowfall {
    0% { transform: translateY(-100px) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #ff0000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.maple-leaf {
    font-size: 3rem;
    margin: 0 1rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.maple-leaf:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.header h1 {
    color: #ff0000;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 5;
}

/* Seção de Seleção de Nível */
.level-selection {
    margin-bottom: 2rem;
    text-align: center;
}

.level-selection h3 {
    color: #ff0000;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.level-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.level-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.level-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff0000;
}

.level-btn.active {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-color: #cc0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.level-btn.active:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
}

.level-icon {
    font-size: 1.8rem;
    display: block;
}

.level-text {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
}

.level-text small {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 400;
}

.level-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.level-btn:hover::before {
    left: 100%;
}

/* Seção de Seleção de Tipo de Frase */
.sentence-type-selection {
    margin-bottom: 2rem;
    text-align: center;
}

.sentence-type-selection h3 {
    color: #ff0000;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sentence-type-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sentence-type-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.sentence-type-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff0000;
}

.sentence-type-btn.active {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-color: #cc0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.sentence-type-btn.active:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
}

.type-icon {
    font-size: 1.5rem;
    display: block;
}

.type-text {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    text-align: center;
}

.type-text small {
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: 400;
}

.sentence-type-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.sentence-type-btn:hover::before {
    left: 100%;
}

/* Seção de Seleção de Tempos Verbais */
.tenses-selection {
    margin-bottom: 2rem;
    text-align: center;
}

.tenses-selection h3 {
    color: #ff0000;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tenses-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.select-all-btn, .clear-all-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.select-all-btn:hover, .clear-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #ff0000;
}

.select-all-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-color: #4CAF50;
}

.clear-all-btn {
    background: linear-gradient(135deg, #FF9800, #e68900);
    color: white;
    border-color: #FF9800;
}

.btn-icon {
    font-size: 1.2rem;
}

.tenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-content: center;
}

.tense-checkbox {
    cursor: pointer;
    display: block;
}

.tense-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.checkbox-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff0000;
}

.tense-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-color: #cc0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.tense-icon {
    font-size: 1.5rem;
    display: block;
}

.tense-name {
    font-weight: 600;
    font-size: 1rem;
}

.checkbox-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.checkbox-custom:hover::before {
    left: 100%;
}

/* Seção de Regenerar */
.regenerate-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 0, 0, 0.2);
}

.regenerate-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.regenerate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #cc0000, #990000);
}

.regenerate-btn:active {
    transform: translateY(-1px);
}

.regenerate-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.regenerate-btn:hover .btn-shine {
    left: 100%;
}

/* Seção de Input */
.input-section {
    margin-bottom: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card h2 {
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.verb-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.verb-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.generate-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.generate-btn:active {
    transform: translateY(0);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.generate-btn:hover .btn-shine {
    left: 100%;
}

.examples {
    text-align: center;
    margin-top: 1rem;
}

.examples p {
    color: #666;
    font-size: 0.9rem;
}

.example-verb {
    color: #ff0000;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.example-verb:hover {
    background-color: rgba(255, 0, 0, 0.1);
}

/* Seção de Resultados */
.results-section {
    position: relative;
}

.results-section.hidden {
    display: none;
}

/* Card de Correção/Tradução */
.correction-card {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    border-left: 5px solid #2E7D32;
    animation: slideIn 0.5s ease;
}

.correction-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.correction-card p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #ff0000;
}

.maple-spinner {
    font-size: 4rem;
    display: inline-block;
    animation: spin 2s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    font-size: 1.2rem;
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tense-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ff0000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.tense-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tense-title {
    color: #ff0000;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sentence-list {
    list-style: none;
}

.sentence-item {
    background: rgba(255, 240, 240, 0.7);
    margin-bottom: 0.8rem;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #ff6666;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.sentence-item:hover {
    background: rgba(255, 220, 220, 0.9);
    transform: translateX(5px);
}

.sentence-item:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    font-weight: 500;
    margin-top: 3rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .maple-leaf {
        font-size: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .generate-btn {
        width: 100%;
    }
    
    .level-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .level-btn {
        min-width: auto;
        padding: 0.8rem 1rem;
    }
    
    .level-icon {
        font-size: 1.5rem;
    }
    
    .level-text {
        font-size: 0.8rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .level-selection h3 {
        font-size: 1.1rem;
    }
    
    .level-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .level-btn {
        padding: 0.7rem;
        min-width: auto;
    }
    
    .level-icon {
        font-size: 1.3rem;
    }
    
    .level-text {
        font-size: 0.75rem;
    }
    
    .snowflake {
        font-size: 1rem;
    }
}

/* Modal de Conjugação */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 1001;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

.conjugation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff0000;
}

.conjugation-header h2 {
    color: #ff0000;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.conjugation-verb {
    font-size: 2.5rem;
    color: #ff0000;
    font-weight: 700;
    text-transform: lowercase;
}

.conjugation-tense {
    color: #666;
    font-size: 1.2rem;
    font-weight: 600;
}

.conjugation-table {
    display: grid;
    gap: 0.8rem;
}

.conjugation-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.conjugation-row:hover {
    background: rgba(255, 0, 0, 0.1);
    border-left-color: #ff0000;
    transform: translateX(5px);
}

.conjugation-pronoun {
    font-weight: 600;
    color: #ff0000;
    font-size: 1.1rem;
}

.conjugation-form {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botão de Ver Conjugação */
.view-conjugation-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.view-conjugation-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.view-conjugation-btn:active {
    transform: translateY(0);
}

/* Estilos para Container de Frase com Botão */
.sentence-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
}

.sentence-text {
    flex: 1;
    cursor: pointer;
}

.convert-tenses-btn {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    border: none;
    border-radius: 8px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(156, 39, 176, 0.3);
}

.convert-tenses-btn:hover {
    background: linear-gradient(135deg, #7B1FA2, #6A1B9A);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.5);
}

.convert-tenses-btn:active {
    transform: scale(0.95) rotate(90deg);
}

/* Estilos para Modal de Conversão de Tempos */
.tense-conversions-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #9C27B0;
}

.tense-conversions-header h2 {
    color: #9C27B0;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
}

.conversion-verb {
    font-size: 1.5rem;
    color: #ff0000;
    font-weight: 700;
    margin-bottom: 1rem;
}

.conversion-original {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #FFC107;
    text-align: left;
}

.conversion-original strong {
    color: #F57C00;
    display: block;
    margin-bottom: 0.5rem;
}

.conversion-original p {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-style: italic;
}

.tense-conversions-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.conversion-item {
    background: rgba(156, 39, 176, 0.05);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid #9C27B0;
}

.conversion-item:hover {
    background: rgba(156, 39, 176, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.2);
}

.conversion-item.current-tense {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.15));
    border-left-color: #4CAF50;
}

.conversion-item.conversion-error {
    background: rgba(244, 67, 54, 0.05);
    border-left-color: #f44336;
    opacity: 0.7;
}

.conversion-tense-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #9C27B0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.conversion-icon {
    font-size: 1.4rem;
}

.current-badge {
    background: #4CAF50;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

.error-badge {
    margin-left: auto;
    font-size: 1.2rem;
}

.conversion-sentence {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    padding-left: 2rem;
}

/* Botão de Pronomes */
.pronouns-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border: none;
    border-radius: 8px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.3);
}

.pronouns-btn:hover {
    background: linear-gradient(135deg, #F57C00, #E65100);
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.5);
}

.pronouns-btn:active {
    transform: scale(0.95);
}

/* Estilos para Modal de Variações com Pronomes */
.pronoun-variations-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #FF9800;
}

.pronoun-variations-header h2 {
    color: #FF9800;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
}

.variation-verb {
    font-size: 1.5rem;
    color: #ff0000;
    font-weight: 700;
    margin-bottom: 1rem;
}

.variation-original {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.15));
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #2196F3;
    text-align: left;
}

.variation-original strong {
    color: #1976D2;
    display: block;
    margin-bottom: 0.5rem;
}

.variation-original p {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-style: italic;
}

.copy-hint {
    margin-top: 1rem;
    padding: 0.5rem;
    text-align: center;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pronoun-variations-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pronoun-tense-section {
    background: rgba(255, 152, 0, 0.03);
    border-radius: 15px;
    padding: 1.2rem;
    border: 2px solid rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
}

.pronoun-tense-section:hover {
    border-color: rgba(255, 152, 0, 0.4);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.15);
}

.pronoun-tense-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 152, 0, 0.3);
}

.pronoun-tense-header .tense-icon {
    font-size: 1.8rem;
}

.pronoun-tense-header .tense-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF9800;
}

.pronoun-variations-list {
    display: grid;
    gap: 0.6rem;
}

.pronoun-variation-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pronoun-variation-item:hover {
    background: rgba(255, 152, 0, 0.08);
    border-left-color: #FF9800;
    transform: translateX(5px);
    box-shadow: 0 3px 12px rgba(255, 152, 0, 0.2);
}

.pronoun-variation-item:active {
    transform: translateX(5px) scale(0.98);
}

.pronoun-label {
    font-weight: 700;
    color: #FF9800;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.pronoun-sentence {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

/* Ajustes responsivos para a modal grande */
@media (max-width: 768px) {
    .pronoun-variation-item {
        grid-template-columns: 80px 1fr;
        gap: 0.5rem;
        padding: 0.6rem 0.8rem;
    }
    
    .pronoun-label {
        font-size: 0.9rem;
    }
    
    .pronoun-sentence {
        font-size: 0.9rem;
    }
    
    .pronoun-tense-header .tense-title {
        font-size: 1.1rem;
    }
}