*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}


:root {
    --primary: #6F00FF;
    --primary-dark: #3B0270;
    --secondary: #64748b;
    --success: #04be74;
    --error: #e03237;
    --warning: #f59e0b;

    --bg-color: #f8fafc;
    --border-color-1: #bebebece;
    --border-color-2: #ffffff75;
    --txt-color: #E3E3E3;
    --txt-ligt-color: #ffffff;
    --inp-txt-color: #8897AD;

    --prim-1: #3B0270;
    --prim-2: #6F00FF;
    --prim-3: #E9B3FB;
    --prim-4: #FFF1F1;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background-color: #f5f7fa;
    color: var(--txt-color);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}





.titnowrap {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}






/* Form Group */
.formgroup {
    width: calc(100%);
    position: relative;
    padding-bottom: 16px;
}

.formgroup label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--txt-color);
}

.formgroup select,
.formgroup input {
    width: 100%;
    outline: 0px transparent;
    padding: 12px 16px;
    border-radius: 6px;
    background-color: transparent;
    transition: all .3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
}
.formgroup select::placeholder,
.formgroup input::placeholder {
    color: rgb(212, 212, 212);
}
.formgroup select option {
    background-color: #333;
    color: var(--txt-ligt-color);
}

.formgroup.error input {
    border-color: var(--error);
    background: #e032381f;
}

.error-icon {
    position: absolute;
    right: 10px;
    top: 34px;
    font-size: 20px;
    color: var(--error);
    opacity: 0;
    transform: scale(.5);
    transition: all .3s ease;
}

.formgroup.error .error-icon {
    opacity: 1;
    transform: scale(1);
}
.formgroup .show-hid-pass{
    position: absolute;
    right: 10px;
    top: 34px;
    font-size: 20px;
    cursor: pointer;
    opacity: 1;
    transition: all 300ms ease;
}
.formgroup.error .show-hid-pass{
    opacity: 0;
}
.error-msg {
    display: block;
    font-size: 13px;
    color: var(--error);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: all .3s ease;
}

.formgroup.error .error-msg {
    max-height: 40px;
    opacity: 1;
    transform: translateY(3px);
}

.astr {
    color: #dc3545;
}




/* Radio */
.radio-options {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.custom-radio {
    cursor: pointer;
    flex: 1;
}

.custom-radio input {
    display: none;
}

.radio-box {
    border: 2px solid var(--border-color-2);
    background-color: #b3b3b321;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #a8a8a8;
}

.radio-box.min-hig {
    min-height: 160px;
}

.radio-box i {
    font-size: 24px;
}

.radio-box:hover {
    background-color: #a8a8a8;
    color: #161616;
}

.custom-radio input:checked+.radio-box {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--txt-ligt-color);
}

.hidden {
    display: none !important;
}

.radio-box small {
    font-size: 12px;
    color: #c5c5c5;
    display: block;
    margin-top: 2px;
    text-align: center;
    transition: all 0.3s ease;
}

.radio-box:hover small {
    color: #161616;
}

.custom-radio input:checked+.radio-box small {
    color: #ffffff;
}

.form-g-file {
    padding-bottom: 16px;
}

.drop-zone {
    border: 2px dashed #aaa;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.drop-zone.dragover {
    border-color: var(--primary);
    background: var(--txt-ligt-color);
}

.drop-zone span {
    color: var(--primary);
    font-weight: 600;
}


@media (max-width: 950px) {
    .checkout .cont>.content {
        flex-flow: column nowrap;
    }

    .checkout .right {
        width: 100%;
        max-width: 100%;
    }

    .row-two-el {
        flex-flow: column nowrap;
        gap: 0px;
    }
}

/* File */
/* Drag and Drop Styles */
.drop-zone {
    border: 2px dashed #ffffff33;
    border-radius: 12px;
    padding: 20px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #b3b3b300;
    position: relative;
    cursor: pointer;
}

.drop-zone:hover {
    border-color: #ff8a03;
    background: #b3b3b321;
}

.drop-zone.drag-over {
    border-color: #ff8a03;
    background: #b3b3b321;
    border-style: solid;
}

.drop-zone-content {
    pointer-events: none;
}

.upload-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    color: #bd6500;
    opacity: 0.8;
}

.drop-zone-title {
    font-size: 18px;
    font-weight: 600;
    color: #636363;
    margin-bottom: 8px;
}

.drop-zone-subtitle {
    font-size: 14px;
    color: #cacaca;
    margin-bottom: 15px;
}

.browse-btn {
    background: #bd6500;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.browse-btn:hover {
    background: #ff8a03;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #ff890336;
}

.drop-zone-hint {
    font-size: 12px;
    color: #b6b6b6;
    margin-top: 12px;
}

.drop-zone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffffa9;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #161616;
}

.drop-zone.drag-over .drop-zone-overlay {
    display: flex;
}

.drop-zone-overlay svg {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

.drop-zone-overlay p {
    font-size: 18px;
    font-weight: 600;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Error State */
#fileUploadGroup.error .drop-zone {
    border-color: #dc3545;
    background: #dc354600;
}

#fileUploadGroup.error .upload-icon {
    color: #dc3545;
}

#fileUploadGroup.error .browse-btn {
    background: #dc3545;
}

/* File Preview Styles */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(0, 0, 0, 0);
    border: 1px solid #e0e0e024;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.file-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.file-icon.pdf {
    background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
}

.file-icon.image {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #d8d8d8;
    margin-bottom: 4px;
    font-size: 14px;
}

.file-size {
    font-size: 12px;
    color: #999;
}

.file-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background: #c82333;
    transform: scale(1.05);
}

.clear-all-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.clear-all-btn:hover {
    background: #5a6268;
}

/* Upload Progress */
.upload-progress {
    margin-top: 15px;
    padding: 15px;
    background: #e6edff;
    border-radius: 8px;
    display: none;
}

.upload-progress.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #cbd5e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}


/* Btns */
.btn-st-primary{
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-st-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}
.btn-st-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}
.btn-st-primary:hover::before {
    left: 100%;
}

/* login */
body.login{
    background: linear-gradient(-45deg, #667eea, #764ba2, #764ba2, #141414);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated Wave Background */
.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wave {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform-origin: center;
}

.wave-1 {
    animation: waveMove 20s linear infinite;
    animation-delay: 0s;
}

.wave-2 {
    animation: waveMove 25s linear infinite reverse;
    animation-delay: -5s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.wave-3 {
    animation: waveMove 30s linear infinite;
    animation-delay: -10s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.wave-4 {
    animation: waveMove 35s linear infinite reverse;
    animation-delay: -15s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
}

@keyframes waveMove {
    0% { transform: translateX(-50%) skewX(-5deg); }
    100% { transform: translateX(50%) skewX(-5deg); }
}

/* Gradient Particles */
.gradient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: -3s; }
.particle:nth-child(3) { top: 80%; left: 20%; animation-delay: -6s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: -9s; }
.particle:nth-child(5) { top: 10%; left: 60%; animation-delay: -12s; }
.particle:nth-child(6) { top: 70%; left: 40%; animation-delay: -15s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateY(-100px) translateX(50px) scale(1.5); }
}


.login{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login .card{
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 60px 24px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #ffffff1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 4;
}
.login .card .head{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 16px;
}
.login .card .head h2{
    color: #ffffff;
}
.login .card .head p{
    color: #d4d2d2;
}
.login .card .alert{
    color: #d4d2d2;
    margin: 16px 0;
    padding: 4px 16px;
    border-radius: 6px;
    border: 1px solid #ff121a50;
    background: #ff121a50;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}
.login .card .btn-row{
    padding: 12px 0px;
}
.login .forgot-row{
    display: flex;
    justify-content: flex-end;
}
.login .forgot-row a{
    text-decoration: none;
    color: #90e4ff;
}