:root {
    --smart-chatbot-primary: #3b82f6;
    --smart-chatbot-secondary: #9333ea;
}


.smart-chatbot-widget {
    position: fixed;
}

.smart-chat-button {
    border-radius: 50% !important;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    position: absolute;
    transition: transform 0.3s ease;
    bottom: -1px;
}

.smart-chat-button:hover {
    transform: scale(1.1);
}

.smart-chat-button #smartChatToggle {
    overflow: hidden;
    background: #fff;
    display: block;
    border-radius: 50%;
    width: 69px;
    padding: 3px;
    height: 69px;
}

.smart-chat-button #smartChatToggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.smart-chat-popup {
    position: absolute;
    bottom: 80px;
    width: 331px;
    height: 700px;
    max-width: 331px;
    max-height: 700px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    color:#000;
}

.smart-chat-popup.show {
    display: flex;
    animation: slideUp 0.3s ease;
    position: relative;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smart-chat-header {
    background: linear-gradient(135deg, var(--smart-chatbot-primary), var(--smart-chatbot-secondary));
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
}

.smart-chat-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    opacity: 0.8;
    margin: 4px 0 0 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.chat-close-btn {
    background: red;
    border: none !important;
    color: #fff !important;
    font-size: 24px !important;
    cursor: pointer !important;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    padding: 0;
}

.smart-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background-image: url("../image/chat.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.smart-chat-messages::-webkit-scrollbar {
     width: 6px;
 }

.smart-chat-messages::-webkit-scrollbar-track {
     background: transparent;
 }

.smart-chat-messages::-webkit-scrollbar-thumb {
     background-color: #888;
     border-radius: 10px;
 }

.smart-chat-messages::-webkit-scrollbar-thumb:hover {
     background-color: #555;
 }

.message {
    margin-bottom: 16px;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bot-message .message-wrapper {
    display: block !important;
}

.user-message .message-wrapper {
    flex-direction: row-reverse;
}
.bot-message .message-wrapper .message-avatar {
    margin-bottom: 5px;
}
.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.message-avatar img {
    width: 88%;
}

.bot-message .message-avatar {
    background: #fff;
}

.user-message .message-avatar {
    background: #fff;
}

.message-content {
    background: white;
    border-radius: 16px;
    padding: 14px 16px;
    max-width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.user-message .message-content {
    background: linear-gradient(to bottom, #dcfce7, #d1fae5);
}

.smart-chat-input {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 12px;
}

#limitDisplay {
    margin-bottom: 8px;
}

.smart-questions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.smart-questions button {
    padding: 4px 12px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 12px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    cursor: pointer;
    transition: all 0.2s;
}

.smart-questions button:hover {
    background: #bfdbfe !important;
}

.input-wrapper {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
}

#messageInput {
    flex: 1;
    padding: 3px 7px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

#messageInput:focus {
    border-color: var(--smart-chatbot-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--smart-chatbot-primary), var(--smart-chatbot-secondary));
    color: white !important;
    border-radius: 24% !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.send-btn img {
    width: 80%;
}

#typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* محصولات */
.product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: linear-gradient(to right, #f9fafb, #f3f4f6);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    margin-top: 8px;
    font-size: 12px !important;
}

.product-card:hover {
    background: linear-gradient(to right, #ede9fe, #ddd6fe);
    border-color: #c7d2fe;
    transform: translateX(-4px);
}

/* تقسیم‌کننده پیام‌ها */
.messages-divider {
    text-align: center;
    margin: 16px 0;
    padding: 12px;
    background: linear-gradient(to right, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    border: 1px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

.clear-history-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-history-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* بهبود نمایش محدودیت */
.limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 8px;
}

.limit-info.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.limit-info.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.limit-info small {
    display: block;
    margin-top: 4px;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .smart-chat-popup {
        width: 100%;
        height: 100%;
        max-width: 362px;
        max-height: 100vh;
        bottom: 0;
        border-radius: 0;
        position: fixed;
    }

}

.title-chatbot-frooshino {
    position: absolute;
    width: 150px;
    padding: 13px;
    background: #fff;
    border-radius: 10px;
    top: -56px;
    font-size: 14px !important;
    font-weight: bold !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}



.title-chatbot-frooshino::after {
    content: "";
    position: absolute;
    bottom: -5px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    text-align: center;
}

.order-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

.orders-container {
    margin-top: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 12px;
    border-radius: 19px;
    background: #fff;
}

.order-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.order-header h4 {
    margin: 0;
    color: #333;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.status-completed { background: #4caf50; }
.status-processing { background: #ff9800; }
.status-pending { background: #f44336; }
.status-cancelled { background: #9e9e9e; }
.status-refunded { background: #795548; }

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.order-details p {
    margin: 0;
    background: white;
    padding: 10px;
    border-radius: 4px;
}

.order-items {
    margin-bottom: 20px;
}

.order-items h5 {
    margin-bottom: 10px;
    color: #555;
}

.item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 15px;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-name {
    font-weight: bold;
    color: #333;
}

.item-qty, .item-price {
    font-size: 14px;
    color: #666;
}

.billing-info {
    background: white;
    padding: 15px;
    border-radius: 4px;
}

.billing-info h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #555;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-details {
        grid-template-columns: 1fr;
    }

    .item {
        flex-direction: column;
        text-align: center;
    }

    .item img {
        margin: 0 0 10px 0;
    }
}


.button-container {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* دکمه اصلی چت‌بات */
.chatbot-button {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.chatbot-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.chatbot-button:active {
    transform: scale(0.95);
}

/* آیکون چت */
.chat-icon {
    width: 70px;
    height: 70px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
}

.chat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.chatbot-button:hover .chat-icon img {
    transform: scale(1.1);
}

.chat-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* حلقه‌های انیمیشن بیرونی */
.pulse-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 3px solid rgba(94, 114, 228, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        width: 70px;
        height: 70px;
        opacity: 1;
        border-width: 3px;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
        border-width: 1px;
    }
}

/* ذرات شناور */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: floatUp 4s ease-out infinite;
}

.particle:nth-child(1) {
    left: 50%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    left: 60%;
    animation-delay: 2s;
}

@keyframes floatUp {
    0% {
        bottom: 0;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        bottom: 100px;
        opacity: 0;
        transform: translateX(random() * 40px - 20px) scale(0.3);
    }
}

/* حلقه چرخان */
.rotating-border {
    position: absolute;
    width: 82px;
    height: 82px;
    /*top: 50%;*/
    /*left: 50%;*/
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(94, 114, 228, 0.8) 60deg,
            transparent 120deg
    );
    animation: rotate 3s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* نقاط دورانی */
.orbit-dots {
    position: absolute;
    width: 96px;
    height: 96px;
    /*top: 50%;*/
    /*left: 50%;*/
    transform: translate(-50%, -50%);
    animation: rotate 5s linear infinite reverse;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.orbit-dot:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-dot:nth-child(2) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-dot:nth-child(3) {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.orbit-dot:nth-child(4) {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* نشانگر پیام جدید */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 15;
    animation: bounce 2s infinite;
    border: 2px solid white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* متن شناور */
.floating-text {
    position: absolute;
    left: -140px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
    z-index: 5;
}

.floating-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.button-container:hover .floating-text {
    opacity: 1;
    left: -150px;
}

/* انیمیشن موج کلیک */
.click-wave {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 0;
}

.click-wave.active {
    animation: waveExpand 0.6s ease-out;
}

@keyframes waveExpand {
    to {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* ستاره‌های درخشان */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sparkle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sparkle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* دمو متن */
.demo-container {
    text-align: center;
    padding: 40px;
}

.demo-container h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.demo-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

/* حالت‌های مختلف دکمه */
.chatbot-button.opened {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.chatbot-button.opened .chat-icon {
    transform: rotate(90deg);
}

.chat-bot-message {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.chat-bot-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    max-width: 320px;
    text-align: center;
    font-family: sans-serif;
}

.chat-bot-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.chat-bot-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.chat-bot-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chat-bot-btn {
    flex: 1;
    text-align: center;
    background: #ddd;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
}

.telegram-btn {
    background: #0088cc;
}
.telegram-btn:hover {
    background: #0077b3;
}

.whatsapp-btn {
    background: #25D366;
}
.whatsapp-btn:hover {
    background: #1eb954;
}


.bot-message-content {
    background: white;
    padding: 9px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 19px;
}

.bot-message-text {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* باکس درخواست اطلاعات */
.info-request-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 20px;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

@keyframes glow {
    from {
        box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
    }
    to {
        box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    }
}

.info-request-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 15px;
    opacity: 0.3;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

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

.info-request-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.info-description {
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* فرم اطلاعات */
.info-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.input-group input::placeholder {
    color: #999;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.input-error {
    border-color: #ff4757 !important;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-message {
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* دکمه‌ها */
.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn {
    flex: 1;
    padding: 12px 25px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: scale(0.95);
}

.skip-btn {
    padding: 12px 20px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* حالت لودینگ */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading.show {
    display: block;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

.loading-text {
    color: white;
    font-size: 14px;
}

/* پیام موفقیت */
.success-message {
    display: none;
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.success-text {
    font-size: 14px;
}