﻿@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('./font/eot/IRANSansWeb(FaNum).eot');
    src: url('./font/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('./font/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('./font/woff/IRANSansWeb(FaNum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('./font/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}

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

html, body {
    width: 100%;
    height: 100%;
    font-family: "IRANSans";
    direction: rtl;
    text-align: right;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(-5deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0px) rotate(0);
    }

    33% {
        transform: translateY(-15px) rotate(-5deg);
    }

    66% {
        transform: translateY(-8px) rotate(-10deg);
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Main container */
.container-fluid {
    display: flex;
    width: 100% !important;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 30%, #1a56a0 60%, #0ea5e9 100%);
    background-size: 400% 400%;
    /*    animation: gradientShift 8s ease infinite;*/
    position: relative;
    overflow: hidden;
}

/* Grid lines background */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0ea5e9, transparent);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1d4ed8, transparent);
    bottom: 60%;
    right: 0%;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #0369a1, transparent);
    bottom: -20%;
    left: 20%;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #7dd3fc, transparent);
    top: 5%;
    right: -5%;
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

/* Content wrapper */
.content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

/* Left panel */
.left-panel {
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 3rem;
    margin-right: 1rem;
}

@media (min-width: 1024px) {
    .left-panel {
        display: flex;
    }
}

/* Divider */
.divider {
    display: none;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(60, 160, 207, 0.2), transparent);
    margin-top: 4rem;
    margin-bottom: 4rem;
    align-self: stretch;
}

@media (min-width: 1024px) {
    .divider {
        display: block;
    }
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    color: white;
    font-size: 0.75rem;
    max-width: 14rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.floating-card-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .floating-card-icon svg {
        width: 1rem;
        height: 1rem;
        color: #7dd3fc;
    }

.floating-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #bae6fd;
}

.floating-card-desc {
    font-size: 0.75rem;
    color: rgba(191, 219, 254, 0.5);
}

.card-1 {
    top: 15%;
    left: 5%;
    background: rgba(30, 58, 95, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: 5%;
    background: rgba(29, 78, 216, 0.25);
    animation: float2 8s ease-in-out infinite;
}

.card-3 {
    top: 70%;
    left: 5%;
    background: rgba(6, 182, 212, 0.2);
    animation: float3 10s ease-in-out infinite;
}

    

/* Chart bars */
.chart-bars {
    display: flex;
    gap: 0.25rem;
    align-items: flex-end;
}

.chart-bar {
    width: 0.5rem;
    border-radius: 0.2rem;
    background: #0ea5e9;
}

/* Main left content */
.left-content {
    text-align: center;
    max-width: 28rem;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo-box {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, #0ea5e9, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
    position: relative;
    z-index: 2;
}

.logo-checkmark {
    width: 2rem;
    height: 2rem;
    stroke: white;
    stroke-width: 3;
}

.logo-glow {
    position: absolute;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, rgba(14, 165, 233, 0.4), rgba(37, 99, 235, 0.4));
    filter: blur(0.75rem);
    z-index: 1;
}

.logo-dot {
    position: absolute;
    width: 1rem;
    height: 1rem;
    background: #7dd3fc;
    border: 2px solid #001f3f;
    border-radius: 50%;
    top: 0;
    right: 0;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.left-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #60c8ff, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.7s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.left-subtitle {
    font-size: 1.1rem;
    color: rgba(147, 197, 253, 0.8);
    line-height: 1.6;
    animation: fadeInUp 0.7s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.box-version {
    max-width:max-content;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    padding:.2rem .6rem;
    font-size:.9rem;
    margin:20px auto;
}

.features-list {
    display: inline-block;
    text-align: left;
    animation: fadeInUp 0.7s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: rgba(147, 197, 253, 0.7);
}

.feature-dot {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(14, 165, 233, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .feature-dot::after {
        content: '';
        width: 0.4rem;
        height: 0.4rem;
        background: #7dd3fc;
        border-radius: 50%;
    }

/* Right panel */
.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 1023px) {
    .right-panel {
        flex: 0 0 100%;
    }
}

/* Form container */
.form-wrapper {
    width: 100%;
    max-width: 28rem;
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

/* Mobile logo */
.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .mobile-logo {
        display: none;
    }
}

.mobile-logo-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, #0ea5e9, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mobile-logo-box svg {
        width: 1.25rem;
        height: 1.25rem;
    }

.mobile-logo-text {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Form card */
.form-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
    .form-card {
        padding: 2.5rem;
    }
}

.form-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.875rem;
    color: rgba(191, 219, 254, 0.6);
    margin-bottom: 2rem;
}

/* Social buttons */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(14, 165, 233, 0.4);
        transform: translateY(-2px);
    }

    .social-btn svg {
        width: 1.125rem;
        height: 1.125rem;
    }

/* Divider */
.form-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider-text {
    font-size: 0.75rem;
    color: rgba(147, 197, 253, 0.4);
    font-weight: 500;
}

/* Form fields */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(191, 219, 254, 0.9);
    margin-bottom: 0.375rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(125, 211, 252, 0.5);
    pointer-events: none;
}

    .input-icon svg {
        width: 1rem;
        height: 1rem;
    }

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.575rem 1rem 0.575rem 2.75rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: right;
    direction: rtl;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    background: rgba(255, 255, 255, 0.07) !important;
    color: white !important;
}


    .form-input::placeholder {
        color: rgba(147, 197, 253, 0.3);
    }

/*    .form-input:focus {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(14, 165, 233, 0.7);
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15), 0 0 20px rgba(14, 165, 233, 0.1);
        outline: none;
    }*/

    .form-input:-internal-autofill-selected {
        background: transparent !important;
    }

.password-toggle {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(125, 211, 252, 0.5);
    transition: color 0.3s ease;
    padding: 0.25rem;
}

    .password-toggle:hover {
        color: rgba(147, 219, 254, 0.9);
    }

    .password-toggle svg {
        width: 1rem;
        height: 1rem;
    }

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border-color: transparent;
}

.checkbox-custom svg {
    width: 0.625rem;
    height: 0.625rem;
    stroke: white;
    stroke-width: 2;
    display: none;
}

.checkbox-input:checked + .checkbox-custom svg {
    display: block;
}

.checkbox-label {
    font-size: 0.875rem;
    color: rgba(147, 197, 253, 0.6);
    transition: color 0.3s ease;
}

.checkbox-group:hover .checkbox-label {
    color: rgba(147, 197, 253, 0.9);
}

/* Options row */
.options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.forgot-link {
    background: none;
    border: none;
    color: #60a5fa;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

    .forgot-link:hover {
        color: #7dd3fc;
    }

/* Submit button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    font-family: inherit;
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        transition: left 0.5s ease;
    }

    .submit-btn:hover::before {
        left: 100%;
    }

    .submit-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(14, 165, 233, 0.45);
    }

    .submit-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.spinner {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Register link */
.register-link {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(147, 197, 253, 0.5);
    margin-top: 1.5rem;
}

    .register-link button {
        background: none;
        border: none;
        color: #60a5fa;
        cursor: pointer;
        font-weight: 500;
        transition: color 0.3s ease;
        font-size: 0.875rem;
        font-family: inherit;
    }

        .register-link button:hover {
            color: #7dd3fc;
        }

/* Trust badges */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: rgba(147, 197, 253, 0.4);
}

    .badge svg {
        width: 0.75rem;
        height: 0.75rem;
    }

/* Responsive */
@media (max-width: 768px) {
    .left-title {
        font-size: 2rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .left-content {
        max-width: 24rem;
    }

    .form-wrapper {
        max-width: 100%;
    }

    .social-buttons {
        grid-template-columns: 1fr 1fr;
    }
}
