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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.containerd {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#main {
    background-color: #f8fafc !important;
}

.pagee {
    display: none;
}

.pagee.active {
    display: block !important;
    margin-top: 1%;
    margin-bottom: 1%;
}


/* Header */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.estimation-badge {
    background: #243e90;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}


/* Main Content */

.main-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
    text-align: center;
}

.offer-description {
    text-align: center;
    font-size: 14px;
    margin-bottom: 32px;
    color: #4a5568;
}


/* Device Details Table */

.device-details {
    margin-bottom: 24px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.details-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.details-table tr:last-child td {
    border-bottom: none;
}

.details-table td:first-child {
    font-weight: 500;
    color: #4a5568;
}

.status-good {
    color: #059669;
    font-weight: 500;
}

.verification-note {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
    font-style: italic;
}


/* Buttons */

.action-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.btn-primary {
    background: #243e90;
    color: white;
}

.btn-primary:hover {
    background: #e4e5e9;
    color: #243e90;
    border: 1px solid #243e90;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

#btn-have-account:hover {
    background: white;
}

#btn-have-account {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    padding-left: 2rem;
    width: 50%;
    padding-right: 2rem;
    text-transform: none;
    background-color: #204BA6;
}

.btn-hav {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    padding-left: 2rem;
    width: 50%;
    padding-right: 2rem;
    text-transform: none;
}

#btn-create-account:hover {
    background-color: #204BA6;
    color: #e2e8f0;
}

#btn-create-account {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-transform: none;
    width: 50%;
    padding-left: 2rem;
    padding-right: 2rem;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-full {
    width: 100%;
}

.btn-rt {
    margin: 2% 0%;
    width: 100%;
}

.btn-link {
    background: none;
    color: #243e90;
    text-decoration: underline;
    padding: 4px 8px;
}


/* Next Steps */

.next-steps {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.next-steps h3 {
    color: #1a202c;
    margin-bottom: 20px;
    font-size: 18px;
}

.step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #243e90;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1a202c;
    font-size: 14px;
    margin-bottom: 4px;
}

.step-content p {
    color: #6b7280;
    font-size: 13px;
}


/* Forms */

.personal-form,
.rib-form {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #243e90;
    box-shadow: 0 0 0 3px rgba(36, 62, 144, 0.1);
}

.form-group input:disabled,
.form-group textarea:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
}


/* Checkboxes */

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: #243e90;
    border-color: #243e90;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.link {
    color: #243e90;
    text-decoration: underline;
}


/* Disclaimer */

.disclaimer {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.disclaimer p {
    font-size: 14px;
    color: #3730a3;
    margin-bottom: 8px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}


/* Shipping Info */

.shipping-info {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.shipping-info h3 {
    color: #1a202c;
    margin-bottom: 24px;
    font-size: 18px;
}

.shipping-step {
    margin-bottom: 20px;
}

.shipping-step h4 {
    color: #243e90;
    margin-bottom: 8px;
    font-size: 16px;
}

.shipping-step p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 4px;
}


/* Responsive */

@media (max-width: 768px) {
    .containerd {
        padding: 16px;
    }
}