@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Orbitron:wght@400..900&family=Rubik+Spray+Paint&family=Sen:wght@400..800');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Assistant', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #153e50 0%, #0a1d25 100%);
    min-height: 100vh;
    direction: rtl;
    text-align: right;
}

span {
    font-family: 'Assistant', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-img,
.nav-logo object {
    margin-top: 40px;
    height: 100px;
    width: 100px;
    cursor: pointer;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    color: #333;
    position: relative;
}

.nav-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.bell-btn {
    position: relative;
}

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

.signin-btn {
    background: linear-gradient(250deg, #667eea 0%, #99bac9 100%);
    color: white;
    font-weight: 600;
}

.signin-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #99bac9 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Main Content */
.main-content {
    opacity: 0;
    padding: 30px 0;
    animation: fadeIn 1.2s ease forwards;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.welcome-message {
    font-size: 1.6rem;
    opacity: 0.9;
}

/* Subscription Info */
.subscription-info {
    margin-bottom: 40px;
}

.subscription-info-bottom {
    color: #333;
    font-size: 1.rem;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 2px;
    font-weight: bold;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.info-label {
    font-weight: 600;
    color: #333;
}

.info-value {
    font-weight: 700;
    color: #667eea;
}

/* Calls Section */
.calls-section {
    margin-bottom: 40px;
}

.calls-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.table-container {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calls-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.calls-table th {
    background-color: rgba(21, 62, 80, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.calls-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.calls-table tr:nth-child(even) td {
    background-color: rgba(214, 232, 243, 0.5);
}

.calls-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Accordion */
.accordion-section {
    margin-bottom: 40px;
}

.accordion {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    text-align: right;
}

.accordion-header:hover {
    background: rgba(102, 126, 234, 0.1);
}

.accordion-header.active {
    background: linear-gradient(135deg, #667eea 0%, #153e50 100%);
    color: white;
}

.accordion-header i:first-child {
    margin-left: 15px;
    font-size: 18px;
}

.accordion-header i:last-child {
    transition: transform 0.3s ease;
}

.accordion-header.active i:last-child {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height 0.3s ease;
    background: rgba(102, 126, 234, 0.05);
}

.accordion-content.active {
    max-height: 400px;
}

.accordion-content p {
    padding: 20px 25px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.modal-body {
    padding: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #153e50 100%);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.demoCalls {
    color: rgb(196, 83, 83, 0.8);
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    -webkit-transform: rotate(340deg);
    transform: rotate(340deg);
    position: absolute;
    top: 50%;
    left: 20%;
    max-width: 70%;
    z-index: 1;
    border-top: 3px solid rgb(196, 83, 83, 0.8);
    border-bottom: 3px solid rgb(196, 83, 83, 0.8);
    padding: 10px 20px;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .demoCalls {
        font-size: 2.2rem;
        top: 40%;
        left: 10%;
    }

    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    .nav-logo .logo-img {
        height: 100px;
        width: 100px;
        position: fixed;
        top: 60px;
        right: 10px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 26px;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .welcome-message {
        font-size: 1.3rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .calls-table {
        font-size: 12px;
    }

    .calls-table th,
    .calls-table td {
        padding: 8px 10px;
    }

    .accordion-header {
        padding: 15px 20px;
        font-size: 18px;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-body {
        padding: 5px;
    }

    .modal-header {
        padding: 15px 20px;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-btn span {
        display: none;
    }

    .welcome-title {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 20px;
    }

    .accordion-header {
        padding: 12px 15px;
        font-size: 20px;
    }

    .accordion-content p {
        padding: 15px 20px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success/Error States */
.success {
    color: #28a745;
}

.error {
    color: #dc3545;
}

/* Animations */
/* אפקט רעידה לכפתור */
.shake-on-hover:hover {
    background: linear-gradient(135deg, #153e50 0%, #99bac9 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.shake-on-hover2:hover {
    animation: shake 0.5s ease-in forwards;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* אפקט סיבוב לאייקון */
.rotate-icon {
    animation: rotate 0.8s linear forwards;
}

@keyframes rotate {
    from {
        transform: rotate(315deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.fade-in,
.accordion-header {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInNav {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

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

.slide-in {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.btn-pink {
    background-color: #f05d8e;
    border: none;
    color: white;
    padding: 14px 28px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin: 12px 6px;
    cursor: pointer;
    opacity: 0;
    animation: slideIn 0.6s forwards;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    border-radius: 45px;
    width: 80%;
    max-width: 300px;
}

.btn-navy {
    background-color: #59bfc9;
    border: none;
    color: white;
    padding: 14px 28px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin: 12px 6px;
    cursor: pointer;
    opacity: 0;
    animation: slideIn 0.3s forwards 0.5s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    border-radius: 45px;
    width: 80%;
    max-width: 300px;
}

.btn-center {
    text-align: center;
}

.accordion-section,
.navbar {
    display: none;
}

.calls-section {
    position: relative;
}

.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    background: #28a745;
}

.notification-toast.error {
    background: #dc3545;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.notification-item.unread {
    background: rgba(102, 126, 234, 0.05);
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 17px;
}

.notification-content p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 16px;
}

.notification-content small {
    color: #999;
    font-size: 14px;
}

.unread-indicator {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    margin-right: 7px;
}

.read-indicator {
    width: 8px;
    height: 8px;
    background: none;
    border-radius: 50%;
    margin-right: 7px;
}

.no-notifications {
    text-align: center;
    color: #666;
    padding: 30px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.ongoing {
    background: #fff3cd;
    color: #856404;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.scheduled {
    background: #d1ecf1;
    color: #0c5460;
}

/* לודר עם לב סגול ואנימציית פעימה */
.heart-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.heart-loader.show {
    display: flex;
}

.heart-emoji {
    font-size: 120px;
    animation: heartbeat 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(137, 0, 195, 0.8));
}

@keyframes heartbeat {

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

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.2);
    }

    75% {
        transform: scale(1.1);
    }
}

.loader-text {
    color: white;
    font-size: 18px;
    margin-top: 20px;
    padding: 15px 45px 15px 25px;
    border-radius: 8px;
    text-align: center;
    font-family: "Assistant", Helvetica, sans-serif;
}

/* אפקט זוהר ללודר */
.heart-emoji::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(137, 0, 195, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

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

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

/* כפתור מושבת */
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn-disabled:hover {
    transform: none !important;
}

/* OTP Input Styling */
.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin: 20px 0;
}

.otp-digit {
    width: 40px;
    height: 50px;
    font-size: 22px;
    text-align: center;
    border: 2px solid #cddff0;
    border-radius: 5px;
    background-color: white;
}

.otp-digit:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

/* Error message styling */
.error-message {
    display: none;
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cddff0;
    border-radius: 7px;
    font-size: 16px;
    background-color: #cddff0;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

/* Button styling */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #667eea;
    color: white;
}

.btn-primary:hover {
    background-color: #5a6fd8;
    transform: translateY(-2px);
}

/* Success message styling */
.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 7px;
    padding: 15px;
    margin: 15px 0;
    color: #28a745;
}
.h2b {
    color: #ff0000;
    font-size: 20pt;
    font-family: "Sen", Helvetica, sans-serif;
    font-weight: 300;
    text-align: center;
    direction: ltr;
    position: relative;
}

.h2b::before {
    content: url('https://cdn.whatsluv.com/peaceSign-32x32.png');
    padding-right: 5px;
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}