/**
 * Estilos para el lado público del plugin
 *
 * @link       #
 * @since      1.0.0
 *
 * @package    Temporary_Access_Manager_Payhip
 * @subpackage Temporary_Access_Manager_Payhip/public/css
 */

/* Estilos para el formulario de licencia */
.tamph-license-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tamph-form {
    display: flex;
    flex-direction: column;
}

.tamph-form-group {
    margin-bottom: 15px;
}

.tamph-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.tamph-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.tamph-input.tamph-valid {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
}

.tamph-input.tamph-invalid {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.05);
}

.tamph-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.tamph-button:hover {
    background-color: #005177;
}

/* Estilos para el botón de copiar */
#tamph-copy-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#tamph-copy-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

#tamph-copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#tamph-copy-link {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f5f5f5;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.tamph-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.tamph-message.tamph-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tamph-message.tamph-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tamph-message.tamph-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.tamph-recaptcha-notice {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .tamph-license-form-container {
        padding: 15px;
    }
    
    .tamph-input,
    .tamph-button {
        font-size: 14px;
    }
}