.tickelsa-mis-contratos,
.tickelsa-firma-contrato {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
}

.tickelsa-mis-contratos h2,
.tickelsa-firma-contrato h2 {
    color: #F39200;
    border-bottom: 2px solid #F39200;
    padding-bottom: 10px;
}

.contratos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.contratos-table th,
.contratos-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.contratos-table th {
    background: #f9f9f9;
    font-weight: bold;
}

.contrato-preview {
    background: white;
    border: 1px solid #ddd;
    padding: 30px;
    margin: 20px 0;
    border-radius: 5px;
    max-height: 500px;
    overflow-y: auto;
}

.firma-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    border-left: 4px solid #F39200;
}

.firma-section h3 {
    color: #F39200;
    margin-top: 0;
}

.tabs-firma {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    padding: 10px 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #F39200;
}

.tab-btn.active {
    color: #F39200;
    border-bottom-color: #F39200;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 5px;
    margin-top: 15px;
}

.tab-content.active {
    display: block;
}

#firma-canvas {
    background: white;
    border: 2px dashed #F39200;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

#firma-texto {
    font-family: cursive;
    font-size: 32px;
}

.button {
    padding: 10px 20px;
    background: #F39200;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    margin: 5px 5px 5px 0;
}

.button:hover {
    background: #d97600;
    opacity: 0.9;
}

.button-primary {
    background: #28a745;
}

.button-primary:hover {
    background: #218838;
}
