:root{
    --primary:#12183d;
    --secondary:#111841;
    --menu:#000815;
    --gold:#CB9564;
    --white:#FFFFFF;
    --text:rgba(255,255,255,.8);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:var(--primary);
    color:var(--white);
    font-family:'Montserrat',sans-serif;
}

.container{
    max-width:900px;
    margin:auto;
    padding:40px 20px;
}

.header{
    background:var(--menu);
    border-bottom:1px solid rgba(255,255,255,.1);
}

.header-content{
    height:100px;
    display:flex;
    align-items:center;
}

.logo{
    max-height:60px;
}

.portal-box{
    background:var(--secondary);
    margin-top:60px;
    padding:50px;
    border-radius:6px;
    border:1px solid rgba(255,255,255,.08);
}

.portal-box h1{
    font-size:40px;
    margin-bottom:15px;
}

.portal-box p{
    color:var(--text);
    margin-bottom:30px;
}

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

label{
    display:block;
    margin-bottom:8px;
    color:#fff;
}

input{
    width:100%;
    height:55px;
    border:none;
    background:#fff;
    padding:0 15px;
    font-size:16px;
}

.btn{
    background:var(--gold);
    color:#fff;
    border:none;
    padding:15px 35px;
    cursor:pointer;
    text-transform:uppercase;
    font-weight:700;
    letter-spacing:.1em;
}

.btn:hover{
    opacity:.9;
}

.lotes-grid{
    display:grid;
    gap:20px;
}

.lote-card {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.lote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.toggle-btn {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    transition: .3s;
}

.toggle-btn.open {
    transform: rotate(90deg);
}

.boletos-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: #f5f5f5;
}

.boletos-collapse.open {
    max-height: 500px;
}

.boletos-collapse a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-top: 1px solid #ddd;
}
.lote-card{
    background:#fff;
    color:#333;
    padding:25px;
    text-decoration:none;
    border: 2px solid var(--gold); 
    padding: 14px 36px 14px 16px; 
    border-radius: 10px; 
    position: relative;
    margin: 0 auto;
}

.lote-card h3{
    color:var(--primary);
    margin-bottom:10px;
    font-weight: 100;
}
.lotes-grid{
    display:grid;
    gap:20px;
}

.lote-card{
    background:#fff;
    color:#333;
    border:2px solid var(--gold);
    border-radius:10px;
    overflow:hidden;
    transition:.2s;
}

.lote-card:hover{
    transform:translateY(-2px);
}

.lote-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:18px;
}

.lote-info{
    flex:1;
}

.lote-info h3{
    color:var(--primary);
    margin:0;
    font-weight:400;
    line-height:1.5;
}

.toggle-btn{
    width:42px;
    height:42px;
    border-radius:50%;
    border:2px solid var(--gold);
    background:#fff;
    color:var(--gold);
    font-size:28px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:.3s;
    flex-shrink:0;
    margin-left:15px;
}

.toggle-btn.open{
    transform:rotate(90deg);
}

.boletos-collapse{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
    background:#f8f8f8;
}

.boletos-collapse.open{
    max-height:3000px;
}

.boletos-collapse a{
    display:block;
    padding:12px 18px;
    text-decoration:none;
    color:#333;
    border-top:1px solid #ddd;
}

.boletos-collapse a:hover{
    background:#efefef;
}

.lote-card:hover{
    transform:translateY(-2px);
}

.table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    color:#333;
}

.table th{
    background:var(--secondary);
    color:#fff;
    padding:15px;
}

.table td{
    padding:15px;
    border-bottom:1px solid #eee;
}

.download{
    background:var(--gold);
    color:#fff;
    padding:10px 20px;
    text-decoration:none;
}

.status-open{
    color:#0b8d37;
    font-weight:bold;
}

.status-overdue{
    color:#c0392b;
    font-weight:bold;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}