/* ================================================================
   AI Smile Simulation – Modern UI & Flow
   ================================================================ */

/* ── Variables ────────────────────────────────────────────────── */
/*  :root {
    --aiss-primary: #f97316;
    --aiss-primary-d: #ea580c;
    --aiss-accent: #f59e0b;
    --aiss-bg: #fff7ed;
    --aiss-card-bg: #ffffff;
    --aiss-card-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
    --aiss-text: #334155;
    --aiss-muted: #64748b;
    --aiss-border: #e2e8f0;
    --aiss-radius: 12px;
    --aiss-success: #10b981;
}  */

/* ── App Container ────────────────────────────────────────────── */


.aiss-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    max-width: 100%;
    margin: 0px auto;
    padding: 0 12px;
    color: var(--aiss-text);
    line-height: 1.5;
    position: relative;
}

.main-smile-icon{
	background-color: #f26a54;
    color: #fff;
    padding: 5px;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    line-height: 42px!important;
    font-size: 30px;
	margin-bottom:15px;
}
a.da-close.evr-close {
    display: flex!important;
    justify-content: center;
    align-items: center;
    line-height: 0px!important;
}
a.da-close.evr-close {
    font-size: 35px!important;
}
@media (min-width: 480px) {
    .aiss-app {
        margin: 0px auto;
        padding: 0 16px;
    }
}

/* ── Step Indicator ──────────────────────────────────────────── */
.aiss-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 0px;
    padding: 0 8px;
}

.aiss-step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f26a54;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.aiss-step-dot span{
	color:#fff;
	font-size:14px;
	
}
.aiss-step-dot.done {
    background:#263b7e;
    color: #fff;
}

.aiss-step-dot.current {
    background: #263B7E;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2);
}

.aiss-step-line {
    width: 22px;
    height: 2px;
    background: #263b7e;
    border-radius: 1px;
}

.aiss-step-dot.done+.aiss-step-line {
    background: var(--aiss-primary);
    opacity: 0.4;
}

.aiss-app * {
    box-sizing: border-box;
}
button#aiss-accept-disclaimer {
font-size: 16px;
    background-color: #f26a54;
    text-transform: uppercase;
}
/* ── Card ─────────────────────────────────────────────────────── */
.aiss-card {
    background: #eae7da;
    padding: 5px;
    transition: box-shadow 0.2s ease;
	border-radius:12px;
	margin-top:10px;
}
button#aiss-start-btn {
    font-size: 16px;
    background-color: #f26a54;
    text-transform: uppercase;
	display:flex;
	margin:auto;
}
@media (min-width: 480px) {
    .aiss-card {
        padding: 5px;
    }
}

.aiss-card:hover {
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
}

.aiss-card-results .aiss-card-header {
    margin-bottom: 20px;
}

.aiss-subtitle {
    font-size: 16px !important;
    color: #000 !important;
    margin-top: 4px !important;
	font-weight:400;
}

.aiss-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.aiss-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 6px;
}

.aiss-card-header h2 {
    font-size: 25px;
    font-weight: 700;
    margin: 0;
    color: #000;
    letter-spacing: -0.01em;
	padding-bottom:0px;
}

.aiss-card-header p {
    color: var(--aiss-muted);
    font-size: 14px;
    margin: 0;
}

/* ── Steps ────────────────────────────────────────────────────── */
.aiss-step {
    animation: aissFadeIn 0.4s ease;
}

@keyframes aissFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disclaimer */
.aiss-disclaimer-box {
    background: var(--aiss-bg);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.aiss-disclaimer-box p {
    margin: 0;
    font-size: 14px;
    color: var(--aiss-text);
    line-height: 1.65;
}

/* Phone/OTP Inputs */
.aiss-input-field {
    width: 100%;
    padding: 10px 18px!important;
    border: 2px solid var(--aiss-border);
    border-radius: 12px;
    font-size: 17px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.aiss-input-field:focus {
    border-color: var(--aiss-primary);
}

.aiss-input-field::placeholder {
    color: #9ca3af;
}

.aiss-input-field:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.aiss-loading-status {
    font-size: 13px;
    color: var(--aiss-muted);
    margin: 8px 0 0;
}

.aiss-step-back {
    margin-top: 15px;
    text-align: center;
}

.aiss-step-back a {
    color: #263B7E;
    font-size: 14px;
    text-decoration: none;
}

.aiss-step-back a:hover {
    color: var(--aiss-primary);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.aiss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    min-height: 40px;
	text-transform:uppercase;
}
button#aiss-verify-otp-btn{
	background-color:#F26A54;
	margin-top:10px;
}
.aiss-btn-primary {
    background: var(--aiss-primary);
    color: #fff;
}
button#aiss-send-otp-btn {
background-color:#F26A54;
	font-size:16px;
}
input#aiss-phone-input {
    padding: 10px;
    font-weight: 400;
	margin-bottom:10px;
}
.aiss-btn-primary:hover:not(:disabled) {
    background: var(--aiss-primary-d);
    transform: translateY(-1px);
}

.aiss-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.aiss-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.aiss-btn-outline {
    background: transparent;
    border: 1px solid var(--aiss-border);
    color: var(--aiss-muted);
}

.aiss-btn-outline:hover {
    border-color: var(--aiss-primary);
    color: var(--aiss-primary);
}

.aiss-btn-booking {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.aiss-btn-download {
    background-color: #f26a54;
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3);
}

.aiss-btn-restart {
    background-color: #263B7E;
    color: #fff;
    border: 1px solid #e5e7eb;
}

.aiss-btn-booking::before,
.aiss-btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

.aiss-btn-booking:hover,
.aiss-btn-download:hover {
    transform: translateY(-2px) scale(1.02);
}

.aiss-btn-booking:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.aiss-btn-download:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.aiss-btn-restart:hover {
    transform: translateY(-1px);
}

.aiss-btn-booking:hover::before,
.aiss-btn-download:hover::before {
    left: 100%;
}

.aiss-btn-booking:active,
.aiss-btn-download:active,
.aiss-btn-restart:active {
    transform: translateY(-1px) scale(0.98);
}

.aiss-btn-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@keyframes aissPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.aiss-btn-booking {
    animation: aissPulse 2s infinite;
}

.aiss-full-width {
    width: 100%;
}

/* ── Upload Zone ──────────────────────────────────────────────── */
.aiss-upload-zone {
    border: 2px dashed #bbb;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
	width:95%;
margin:15px auto 0px;
}

@media (min-width: 480px) {
    .aiss-upload-zone {
        padding: 10px;
    }
}

.aiss-upload-zone:hover,
.aiss-upload-zone.dragover {
    border-color: var(--aiss-primary);
    background: rgba(13, 148, 136, 0.05);
}

.aiss-upload-zone:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
}

.aiss-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.3);
}

.aiss-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.aiss-upload-icon {
    width: 44px;
    height: 44px;
    color: var(--aiss-accent);
    opacity: 0.9;
}

.aiss-upload-text {
    font-weight: 700;
    font-size: 15px;
    color: #000;
	letter-spacing: -0.01em;
	padding-bottom:0px;
}

.aiss-upload-sub {
    font-size: 14px;
    color: #000;
	padding-bottom:0px;
    margin: -4px 0 0;
	font-weight:400;
}

.aiss-upload-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 4px 0;
}

.aiss-btn-camera {
    background-color: #263B7E;
    color: #fff !important;
    border: none;
    min-height: 40px;
    padding: 10px 12px!important;
}

.aiss-btn-camera:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.aiss-btn-icon {
    font-size: 18px;
}

.aiss-upload-hint {
    font-size: 11px;
    color: var(--aiss-muted);
    max-width: 280px;
}
button#aiss-browse-btn {
    background-color: #f26a54;
    color: #fff;
	padding:10px 12px!important;
}
/* ── Camera Modal (direct camera capture) ─────────────────────── */
.aiss-camera-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.aiss-camera-modal-inner {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aiss-camera-modal video {
    width: 100%;
    border-radius: 12px;
    background: #000;
    transform: scaleX(-1);
}

.aiss-camera-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.aiss-btn-cancel {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.aiss-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.3);
}

.aiss-btn-capture {
    background: var(--aiss-primary);
    color: #fff;
}

.aiss-btn-capture:hover {
    background: var(--aiss-primary-d);
    transform: translateY(-1px);
}

.aiss-preview-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.aiss-preview-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

.aiss-upload-preview img {
    max-width: 100%;
    border-radius: 12px;
    display: block;
    transition: opacity 0.2s;
	margin:auto;
}

.aiss-remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform 0.2s, background 0.2s;
}

.aiss-upload-preview {
    position: relative;
}

.aiss-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.08);
}

/* ── Option Buttons ───────────────────────────────────────────── */
.aiss-options h3 {
    text-align: center;
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.aiss-option-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.aiss-option-btn,
.aiss-single-option-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--aiss-border);
    border-radius: 10px;
    background: #fff;
    transition: 0.2s;
    text-align: center;
}

.aiss-single-option-info {
    border-color: rgba(249, 115, 22, 0.3);
    background: var(--aiss-bg);
    color: var(--aiss-primary-d);
    margin-bottom: 5px;
}

.aiss-option-btn.active {
    border-color: var(--aiss-primary);
    background: #fff8f4;
    color: var(--aiss-primary);
}

.aiss-option-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.aiss-option-label {
    font-size: 14px;
    font-weight: 400;
	color:#000;
}

/* ── Loading Overlay ──────────────────────────────────────────── */
.aiss-loading-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(165deg, #f8fcff 0%, #f0fdfa 50%, #fdfbff 100%);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
}

.aiss-loading-content {
    max-width: 300px;
    width: 100%;
}

.aiss-teeth-loader {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiss-loader-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(13, 148, 136, 0.12);
    border-top-color: var(--aiss-primary);
    border-radius: 50%;
    animation: aissRingSpin 1.2s linear infinite;
}

.aiss-tooth-svg {
    width: 44px;
    height: 55px;
    position: relative;
    z-index: 2;
    animation: aissToothGlow 2s ease-in-out infinite;
}

@keyframes aissRingSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes aissToothGlow {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.2));
    }

    50% {
        opacity: 0.9;
        filter: drop-shadow(0 0 14px rgba(13, 148, 136, 0.35));
    }
}

.aiss-sparkle {
    position: absolute;
    font-size: 12px;
    color: var(--aiss-primary);
    opacity: 0.8;
    animation: aissSparkle 1.5s ease-in-out infinite;
}

.aiss-sparkle-1 {
    top: 8px;
    right: 16px;
    animation-delay: 0s;
}

.aiss-sparkle-2 {
    bottom: 20px;
    left: 12px;
    animation-delay: 0.3s;
}

.aiss-sparkle-3 {
    bottom: 24px;
    right: 14px;
    animation-delay: 0.6s;
}

@keyframes aissSparkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.aiss-loading-title {
    font-size: 25px;
    font-weight: 800;
    color: #000;
    margin: 0px;
    letter-spacing: -0.02em;
}

.aiss-loading-text {
    font-size: 16px;
    color: #000;
    margin: 0px;
    line-height: 1.4;
	font-weight:400;
}

.aiss-loading-status {
       font-size: 16px;
    color: #f26a54;
    margin: 0;
    min-height: 18px;
}

.aiss-loading-dots {
    display: inline-block;
}

.aiss-dots {
    display: inline-block;
    width: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
    animation: aissDots 1.5s steps(4, end) infinite;
}

@keyframes aissDots {

    0%,
    20% {
        width: 0;
    }

    40% {
        width: 0.4em;
    }

    60% {
        width: 0.8em;
    }

    80%,
    100% {
        width: 1.2em;
    }
}

.aiss-progress-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

.aiss-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.aiss-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--aiss-primary) 0%, var(--aiss-accent) 100%);
    position: relative;
    overflow: hidden;
    animation: aissProgress 12s ease-out forwards;
}

.aiss-progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, #263B7E 100%);
    animation: aissShine 2s ease-in-out infinite;
}

@keyframes aissShine {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

@keyframes aissProgress {
    to {
        width: 90%;
    }
}

.aiss-progress-label {
    display: block;
    font-size: 14px;
    color: var(--aiss-muted);
    margin-top: 10px;
    letter-spacing: 0.02em;
}

/* ── Results View ─────────────────────────────────────────────── */
.aiss-view-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.aiss-tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--aiss-border);
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}

.aiss-tab.active {
    background-color: #263b7e;
    color: #fff;
    border-color: var(--aiss-primary);
}

.aiss-tab:hover:not(.active) {
    border-color: var(--aiss-primary);
    color: var(--aiss-primary);
}

.aiss-result-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Slider */
.aiss-compare-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.aiss-compare-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aiss-compare-before-clip {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    width: 50%;
}

.aiss-compare-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 10;
}

.aiss-compare-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.aiss-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    width: 100%;
}

.aiss-actions-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.aiss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    /* Helps vertical alignment */
}

.aiss-btn svg,
.aiss-btn span {
    display: inline-block;
    vertical-align: middle;
}

.aiss-btn-booking {
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
}

@media (max-width: 480px) {
    .aiss-actions-secondary {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Toast ────────────────────────────────────────────────────── */
.aiss-toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
	width:90%;
	text-align:center;
}

.aiss-toast {
    padding: 6px 18px;
    border-radius: 30px;
    background: #333;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.aiss-toast-error {
    background: #e74c3c;
	text-align:center;
}

.aiss-toast-success {
    background: #263b7e;
	font-size:14px;
	text-align:center;
	
}

/* Mobile touch targets */
@media (max-width: 479px) {
    .aiss-btn {
        min-height: 52px;
        padding: 16px 20px;
    }

    .aiss-tab {
        padding: 10px 18px;
        min-height: 44px;
    }
}


@media only screen and (max-width:767px){
	
}