#sdart11-callform *,
.sdart11-form-container * {
    box-sizing: border-box;
}
.sdart11-form-wrapper {
    width: 100%;
    margin: 0 0 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}
.sdart11-form {
    display: block;
}
.sdart11-form-flex {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
    align-items: flex-end;
}

.sdart11-form-group,
.sdart11-form-actions {
    padding: 0 0.75rem;
    width: 100%;
    margin-bottom: 1rem;
}
.sdart11-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}
.sdart11-submit-btn {
    background: #1f3a8a;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.95rem 2.5rem;
    border-radius: 0.85rem;
    font-size: 1rem;
    cursor: pointer;
}
.sdart11-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.sdart11-submit-btn:hover:not(:disabled) {
    opacity: 0.9;
}
.sdart11-loading-block {
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0;
}

.sdart11-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(148, 163, 184, 0.3);
    border-top-color: #1f3a8a;
    border-radius: 50%;
    animation: sdart11-spin 0.85s linear infinite;
}

@keyframes sdart11-spin {
    to {
        transform: rotate(360deg);
    }
}

.sdart11-result {
    width: 100%;
    margin: 0;
}

.sdart11-search-results {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.sdart11-search-results h2 {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    color: #1f3a8a;
    margin-bottom: 1.5rem;
}

.sdart11-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sdart11-event {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
	margin:0;
}

.sdart11-event.done {
    background: #f0fdf4;
}

.sdart11-event.in-progress {
    background: #fffbeb;
}

.sdart11-event.pending {
    background: #f8fafc;
}

.sdart11-event::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 24px;
    bottom: -60%;
    width: 2px;
    background: rgba(148, 163, 184, 0.4);
    z-index: 0;
}

.sdart11-event:last-child::before {
    display: none;
}

.sdart11-event::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    background: #94a3b8;
    z-index: 1;
}

.sdart11-event.done::after {
    background: #22c55e;
}

.sdart11-event.in-progress::after {
    background: #facc15;
}

.sdart11-event.stage-submitted::after {
    background: #1f3a8a;
}

.sdart11-event.stage-review::after {
    background: #f97316;
}

.sdart11-event.stage-review.has-term::after {
    background: #2ec4b6;
}

.sdart11-event.stage-review.done::after {
    background: #22c55e;
}

.sdart11-event.stage-review.pending::after {
    background: #94a3b8;
}

.sdart11-event.stage-decision::after {
    background: #22c55e;
}

.sdart11-event.stage-decision.pending::after {
    background: #94a3b8;
}

.sdart11-event-date {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.sdart11-event-date span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sdart11-event-date span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}

.sdart11-event-title {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    color: #1f3a8a;
    font-weight: 600;
}

.sdart11-event-body {
    color: #475467;
    line-height: 1.6;
}

.sdart11-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sdart11-event.done .sdart11-status-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.sdart11-event.in-progress .sdart11-status-badge {
    background: rgba(250, 204, 21, 0.2);
    color: #a16207;
}

.sdart11-event.pending .sdart11-status-badge {
    background: rgba(148, 163, 184, 0.15);
    color: #475569;
}

.sdart11-status-badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.sdart11-event-body a {
    color: #1f3a8a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.sdart11-event-body a:hover {
    color: #2ec4b6;
    border-color: #2ec4b6;
}
.sdart11-order-summary {
    position: relative;
    margin-top: 3rem;
    background: #ffffff;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
    overflow: hidden;
    text-align: center;
	border: 1px solid #efefef;
}

.sdart11-order-summary h3 {
    margin: 0 0 1.5rem;
    color: #1f3a8a;
    font-size: 2rem;
    font-weight: 800;
    text-transform: initial;
}

.sdart11-order-summary p {
    margin: 1rem 0;
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1.8;
}

.sdart11-order-summary .sdart11-order-chip {
    font-size: 1.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 1.5rem;
    text-transform: initial;
}

.sdart11-order-link {
    color: #1f3a8a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
	background: #ff0000;
    color: #fff;
    padding: 12px 8px;
    border-radius: 25px;
}
.sdart11-order-link:hover {
    color: #2ec4b6;
    border-color: #2ec4b6;
}

.sdart11-order-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.sdart11-pasaport-link {
    display: inline-block;
    background: #1f3a8a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.sdart11-pasaport-link:hover {
    opacity: 0.9;
}

@media (max-width: 575.98px) {
    .sdart11-order-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sdart11-order-link,
    .sdart11-pasaport-link {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.sdart11-confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.sdart11-confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    opacity: 0;
    top: -10px;
}
.sdart11-order-summary.sdart11-confetti-active .sdart11-confetti {
    animation: sdart11-confetti-fall 3s ease-out infinite;
    animation-delay: var(--random-delay, 0s);
}
.sdart11-confetti:nth-child(odd) { background: #22c55e; }
.sdart11-confetti:nth-child(even) { background: #facc15; }
.sdart11-confetti:nth-child(3n) { background: #2ec4b6; }
.sdart11-confetti:nth-child(4n) { background: #1f3a8a; }
.sdart11-confetti:nth-child(5n) { background: #f97316; }

@keyframes sdart11-confetti-fall {
    0% {
        top: -10px;
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 100%;
        transform: translateX(calc(var(--random-x, 0) * 50px)) rotate(720deg);
        opacity: 0;
    }
}


.sdart11-error {
    background: #fff5f5;
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #b91c1c;
    padding: 1rem 1.25rem;
    border-radius: 0.8rem;
    font-weight: 500;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.col-md-2,
.col-md-5 {
    width: 100%;
}

@media (min-width: 576px) {
    .sdart11-form-group,
    .sdart11-form-actions {
        width: 50%;
    }
    
    .col-md-5 {
        width: 50%;
    }
    
    .col-md-2 {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .sdart11-form-group {
        width: 41.666667%;
    }
    
    .sdart11-form-actions {
        width: 16.666667%;
    }
    
    .col-md-5 {
        width: 41.666667%;
    }
    
    .col-md-2 {
        width: 16.666667%;
    }

    .sdart11-timeline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .sdart11-event {
        padding: 1.3rem 1.3rem 1.3rem 4rem;
        min-height: 220px;
    }

    .sdart11-event::after {
        width: 28px;
        height: 28px;
        left: 10px;
    }

    .sdart11-event::before {
        left: 24px;
    }
}

@media (min-width: 992px) {
    .sdart11-timeline {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        position: relative;
    }

    .sdart11-timeline::before {
        content: "";
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(148, 163, 184, 0.25);
        z-index: 0;
    }

    .sdart11-event {
        padding: 1.45rem;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
        min-height: 250px;
    }

    .sdart11-event::before,
    .sdart11-event::after {
        display: none;
    }

    .sdart11-order-summary {
        padding: 2rem 2.5rem;
    }
}

@media (min-width: 1200px) {
    .sdart11-event {
        min-height: 280px;
    }

    .sdart11-order-summary {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 575.98px) {
    .sdart11-form-wrapper {
        padding: 1.5rem;
    }

    .sdart11-form-group,
    .sdart11-form-actions {
        width: 100%;
        margin-bottom: 1rem;
    }

    .sdart11-submit-btn {
        width: 100%;
        text-align: center;
    }

    .sdart11-event {
        padding: 1.2rem 1.2rem 1.2rem 3.5rem;
        min-height: 200px;
    }

    .sdart11-event::after {
        width: 26px;
        height: 26px;
        left: 8px;
    }

    .sdart11-event::before {
        left: 21px;
    }

    .sdart11-search-results {
        padding: 1.5rem 1.25rem;
    }

    .sdart11-order-summary {
        padding: 1.5rem 1.0rem;
        border-radius: 1.5rem;
		margin-top: 2rem;
    }

    .sdart11-order-summary h3 {
        font-size: 1.5rem;
    }

    .sdart11-order-summary p {
        font-size: 1.0rem;
    }

    .sdart11-order-summary .sdart11-order-chip {
        font-size: 1.2rem;
    }
}
.sdart11-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.sdart11-call-button,
.sdart11-urgentare-button {
    text-align: center;
    border-radius: 25px;
    min-width: 155px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdart11-call-button {
    background: #ff0000;
}

.sdart11-call-button a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.sdart11-urgentare-button {
    background: transparent;
}
.sdart11-btn-urgentare:hover {
    opacity: 0.9;
}

.sdart11-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
}

body.sdart11-popup-open {
    overflow: hidden;
}
.sdart11-popup {
    background: #fff;
    border-radius: 1rem;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.sdart11-popup-close {
    position: absolute !important;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    font-size: 24px !important;
    color: #64748b !important;
    padding: 20px !important;
}

.sdart11-popup-close:hover {
    background: #fff;
    color: #1e293b;
}

.sdart11-popup-header {
    background: #f59e0b;
    padding: 1.5rem 2rem;
    border-radius: 1rem 1rem 0 0;
}

.sdart11-popup-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
.sdart11-popup-header h3 strong {
    display: block;
    font-size: 1.3rem;
}

.sdart11-popup-body {
    padding: 2rem;
}

.sdart11-popup-text {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.sdart11-urgentare-form .sdart11-form-group {
    margin-bottom: 1rem;
    padding: 0;
    width: 100%;
}

.sdart11-urgentare-form .sdart11-form-actions {
    margin-top: 1.5rem;
    padding: 0;
    width: 100%;
}

.sdart11-urgentare-form input[type="text"],
.sdart11-urgentare-form input[type="tel"] {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #dfdfdf;
    padding: 0 1rem;
    font-size: 1rem;
    box-sizing: border-box;
}
.sdart11-urgentare-message {
    margin-top: 1rem;
}

.sdart11-urgentare-message .sdart11-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 1rem 1.25rem;
    border-radius: 0.8rem;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .sdart11-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sdart11-call-button,
    .sdart11-urgentare-button, .sdart11-btn-urgentare {
        width: 100%;
        max-width: 280px;
    }
    
    .sdart11-popup {
        margin: 10px;
    }
    
    .sdart11-popup-header {
        padding: 1.25rem;
    }
    
    .sdart11-popup-body {
        padding: 1.5rem;
    }
	.sdart11-popup-close {
    top: -1px;
    right: -1px;
    padding: 18px !important;
    font-size: 22px !important;
    min-height: unset !important;
}
	.sdart11-popup-overlay {
		padding:0;
	}
}
button.sdart11-submit-btn.sdart11-btn-green {
    width: 100%;
    border-radius: 25px;
    background: green;
    color: #fff;
    text-transform: initial;
    font-size: 14px;
    font-weight: bold;
    min-height: 48px;
}
select#sdart11-an, input#sdart11-numar {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #dfdfdf;
}
button.sdart11-btn-urgentare {
    background: #212f57;
    color: #fff;
    text-transform: initial;
	border-radius: 25px;
	min-width: 155px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
	font-size: 14px;
}