body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #050505, #181818);
    color: white;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.card {
    width: 100%;
    max-width: 520px;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.45);
}

.badge {
    display: inline-block;
    background: #b30000;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

h1 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.1;
}

.subtitle {
    color: #bbbbbb;
    line-height: 1.5;
    margin-bottom: 28px;
}

label {
    display: block;
    margin: 18px 0 8px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #333;
    background: #1b1b1b;
    color: white;
    font-size: 16px;
}

button {
    width: 100%;
    margin-top: 28px;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #d40000;
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #ff1c1c;
}

.result-box {
    margin-top: 26px;
    padding: 22px;
    border-radius: 18px;
    background: #181818;
    border: 1px solid #333;
}

.result-label {
    margin: 0;
    color: #bbbbbb;
    font-size: 14px;
}

.result-price {
    margin: 8px 0;
    font-size: 36px;
    font-weight: 800;
}

.result-note {
    margin: 0;
    color: #999;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #333;
    background: #1b1b1b;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.wide-card {
    max-width: 1100px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 22px;
    font-size: 14px;
}

th,
td {
    border-bottom: 1px solid #333;
    padding: 12px 10px;
    text-align: left;
}

th {
    color: #bbbbbb;
    font-weight: 700;
}

td {
    color: #eeeeee;
}

a {
    color: #ff3333;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.addons-box {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
}

.addon-item input {
    width: auto;
}

.addon-item span {
    flex: 1;
}

.addon-item strong {
    color: #ffffff;
}

.whatsapp-button {
    display: block;
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
    background: #25D366;
    color: white;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-button:hover {
    opacity: 0.9;
    text-decoration: none;
}

.pdf-button {
    display: block;
    margin-top: 12px;
    padding: 16px;
    border-radius: 16px;
    background: #333;
    color: white;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.pdf-button:hover {
    background: #444;
    text-decoration: none;
}

.status-new,
.status-contacted,
.status-won,
.status-lost {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-new {
    background: #2d3748;
    color: #ffffff;
}

.status-contacted {
    background: #805ad5;
    color: white;
}

.status-won {
    background: #2f855a;
    color: white;
}

.status-lost {
    background: #c53030;
    color: white;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.status-button {
    text-decoration: none;
    font-size: 11px;
}

.current-status {
    margin-bottom: 8px;
    color: #bbbbbb;
    font-size: 12px;
}

.current-status strong {
    color: white;
}

.status-active {
    outline: 2px solid white;
    box-shadow: 0 0 12px rgba(255,255,255,0.35);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 10px;
}

.filter-button {
    padding: 10px 16px;
    border-radius: 999px;
    background: #1b1b1b;
    border: 1px solid #333;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.filter-button:hover {
    background: #262626;
    text-decoration: none;
}

.filter-active {
    background: #d40000;
    border-color: #d40000;
}

.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0 10px;
}

.search-form input {
    flex: 1;
}

.search-form button {
    width: auto;
    margin-top: 0;
    padding: 14px 22px;
}

.new-offer-button {
    display: inline-block;
    margin: 0 0 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #d40000;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.new-offer-button:hover {
    background: #ff1c1c;
    text-decoration: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0;
}

.stat-card {
    background: #181818;
    border: 1px solid #333;
    border-radius: 18px;
    padding: 20px;
}

.stat-label {
    margin: 0;
    color: #999;
    font-size: 13px;
}

.stat-card h2 {
    margin: 10px 0 0;
    font-size: 28px;
}