/* Word Validator Plugin Styles */

.word-validator-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.word-validator-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.word-validator-container h3 {
    color: #333;
    margin-bottom: 15px;
}

/* Steps */
.wv-step {
    display: none;
}

.wv-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input groups */
.wv-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.wv-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.wv-word-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.wv-word-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.wv-word-input.valid {
    border-color: #4CAF50;
    background-color: #f1f8f4;
}

.wv-word-input.invalid {
    border-color: #f44336;
    background-color: #ffebee;
}

.wv-word-input.duplicate {
    border-color: #ff9800;
    background-color: #fff3e0;
}

.wv-check {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wv-input-group.valid .wv-check {
    opacity: 1;
    transform: scale(1);
}

/* Counter */
.wv-counter {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.wv-counter-text {
    font-size: 18px;
    color: #666;
}

.wv-counter-text strong {
    color: #4CAF50;
    font-size: 24px;
}

/* Messages */
.wv-message-1,
.wv-message-2 {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 30px;
}

.wv-message-1 h3,
.wv-message-2 h3 {
    color: #2e7d32;
    margin-top: 0;
}

.wv-message-1 p,
.wv-message-2 p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Form */
.wv-form {
    margin-top: 20px;
}

.wv-form h3 {
    text-align: center;
    margin-bottom: 25px;
}

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

.wv-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.wv-form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.wv-form-group input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.wv-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.wv-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.3);
}

.wv-submit-btn:active {
    transform: translateY(0);
}

.wv-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Error de email */
.wv-email-error {
    display: block;
    color: #f44336;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .word-validator-container {
        margin: 20px;
        padding: 20px;
    }
    
    .wv-word-input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .wv-check {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}