/* Estilos para el sistema de licencias */

.license-container {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-banner {
    padding: 10px 15px;
    border-radius: 4px;
    flex-grow: 1;
    margin-right: 15px;
}

.license-banner.active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.license-banner.expired {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.license-banner.trial {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Modal de licencia */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.primary-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.primary-button:hover {
    background-color: #45a049;
}

.purchase-info {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.purchase-info a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.purchase-info a:hover {
    text-decoration: underline;
}