/* Beca Benito Juárez - Estilos Oficiales */

.bbj-search-container {
    background: white;
    border-radius: 8px;
    padding: 40px 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 20px 0;
}

.bbj-header-title {
    color: #1FA68E;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bbj-header-subtitle {
    color: #666666;
    font-size: 16px;
    margin-bottom: 32px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bbj-form-label {
    color: #222222;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bbj-help-text {
    color: #1FA68E;
    font-size: 14px;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bbj-help-text a {
    color: #1FA68E;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.bbj-help-text a:hover {
    text-decoration: underline;
}

.bbj-search-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
}

.bbj-search-icon-box {
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bbj-search-icon {
    font-size: 20px;
    color: #1FA68E;
}

.bbj-curp-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: border-color 0.3s ease;
    background: white;
    color: #222222;
}

.bbj-curp-input:focus {
    outline: none;
    border-color: #1FA68E;
    box-shadow: 0 0 0 2px rgba(31, 166, 142, 0.1);
}

.bbj-curp-input::placeholder {
    color: #999999;
}

.bbj-search-button {
    background: #FFA500;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bbj-search-button:hover {
    background: #FF9500;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.bbj-search-button:active {
    background: #E89500;
}

.bbj-status-message {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bbj-status-message.success {
    background: #D4F4E8;
    color: #2A5F47;
    border: 1px solid #7EC4A1;
}

.bbj-status-message.error {
    background: #FFE5E5;
    color: #C41E3A;
    border: 1px solid #C41E3A;
}

.bbj-status-message.info {
    background: #E3F2FD;
    color: #0066cc;
    border: 1px solid #0066cc;
}

.bbj-robot-check {
    background: #D4F4E8;
    border: 1px solid #7EC4A1;
    border-radius: 6px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.bbj-robot-check-icon {
    width: 32px;
    height: 32px;
    background: #27A366;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.bbj-robot-check-text {
    color: #2A5F47;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .bbj-search-container {
        padding: 30px 20px;
    }
    
    .bbj-header-title {
        font-size: 22px;
    }
    
    .bbj-search-container {
        flex-direction: column;
    }
    
    .bbj-search-icon-box {
        display: none;
    }
}

@media (max-width: 480px) {
    .bbj-search-container {
        padding: 20px 15px;
    }
    
    .bbj-header-title {
        font-size: 18px;
    }
    
    .bbj-search-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
