﻿.ak-toast-host {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(92vw, 360px);
}

.ak-toast {
    display: flex;
    align-items: start;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .28);
    animation: akToastIn .2s ease;
}

.ak-toast-success {
    background: #16a34a;
}

.ak-toast-error {
    background: #dc2626;
}

.ak-toast-warning {
    background: #d97706;
}

.ak-toast-info {
    background: #2563eb;
}

.ak-toast-title {
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: 2px;
}

.ak-toast-message {
    font-size: .88rem;
    line-height: 1.45;
}

.ak-toast-close {
    margin-inline-start: auto;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    opacity: .9;
}

.ak-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1040;
}

.ak-modal-wrapper {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ak-modal-card {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.25);
    overflow: hidden;
    animation: akModalIn .18s ease-out;
}

.ak-modal-sm {
    max-width: 420px;
}

.ak-modal-md {
    max-width: 620px;
}

.ak-modal-lg {
    max-width: 860px;
}

.ak-modal-xl {
    max-width: 1120px;
}
.ak-modal-header{
    display:flex;
}
ak-modal-header button {
    color:red;
}

.ak-modal-header, .ak-modal-footer {
    padding: .85rem 1rem;
    border-bottom: 1px solid #eef2f7;
}

.ak-modal-footer {
    border-top: 1px solid #eef2f7;
    border-bottom: none;
    display: flex;
    justify-content: end;
    gap: .5rem;
}

.ak-modal-body {
    padding: 1rem;
    max-height: 70vh;
    overflow: auto;
}

.ak-modal-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.ak-close-btn {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #475569;
    margin-inline-start: auto;
}
.akay-loader-inline {
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.akay-loader-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.akay-loader-dim {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1px);
}

.akay-loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.akay-loader-spinner {
    border-radius: 50%;
    border-style: solid;
    border-top-color: transparent !important;
    animation: akay-spin 0.9s linear infinite;
}

/* Sizes */
.akay-loader-sm {
    width: 22px;
    height: 22px;
    border-width: 3px;
}

.akay-loader-md {
    width: 34px;
    height: 34px;
    border-width: 4px;
}

.akay-loader-lg {
    width: 48px;
    height: 48px;
    border-width: 5px;
}

/* Colors */
.akay-loader-primary {
    border-color: #0d6efd;
}

.akay-loader-light {
    border-color: #f8f9fa;
}

.akay-loader-dark {
    border-color: #212529;
}

.akay-loader-success {
    border-color: #198754;
}

.akay-loader-danger {
    border-color: #dc3545;
}

.akay-loader-warning {
    border-color: #ffc107;
}

.akay-loader-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
}
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex: 0 0 auto;
}

    .switch input {
        width: 0;
        height: 0;
        opacity: 0;
    }

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #64748b;
    border-radius: 24px;
    transition: background-color 0.2s ease;
}

    .slider::before {
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        right: 3px;
        top: 3px;
        background-color: #ffffff;
        border-radius: 50%;
        transition: transform 0.2s ease;
    }

.switch input:checked + .slider {
    background-color: #16a34a;
}

    .switch input:checked + .slider::before {
        transform: translateX(-22px);
    }

.switch input:disabled + .slider {
    cursor: not-allowed;
    opacity: 0.55;
}

.switch input:focus-visible + .slider {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.auth-shell{
    height:100vh;
}
    .auth-shell 


    @keyframes akay-spin {
        to {
            transform: rotate(360deg);
        }
    }
@keyframes akModalIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

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


@keyframes akToastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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