﻿@import url('../fonts/fontiran.css'); /* لینک فایلی که وظیفه بارگذاری فونت ها را برعهده دارد */
body {
    font-family: IRANYekanXFaNum !important;

 
}

h1, h2, h3, h4, h5, h6, input, textarea {
    font-family: IRANYekanXFaNum !important;
}

h1 {
    font-weight: bold;
}

.wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.ltr {
    direction: ltr;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-small {
    font-size: 0.8em;
}

.text-xsmall {
    font-size: 0.6em;
}

.text-large {
    font-size: 1.2em;
}

.text-xlarge {
    font-size: 1.4em;
}

.text-underline {
    text-decoration: underline;
}

.text-thin {
    font-weight: 100;
}

.text-UltraLight {
    font-weight: 200;
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: normal;
}

.text-medium {
    font-weight: 500;
}

.text-demibold {
    font-weight: 600;
}

.text-bold {
    font-weight: bold;
}

.text-extrabold {
    font-weight: 800;
}

.text-black {
    font-weight: 900;
}

.text-extrablack {
    font-weight: 950;
}

.text-heavy {
    font-weight: 1000;
}

blockquote {
    font-weight: 700;
    padding: 10px;
    border: 1px dashed #666666;
}

.mainbox {
    width: 100%;
    background-color: #EFEFEF;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #00adb5;
}

.mainboxnegativ {
    width: 100%;
    background-color: #303841;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #00adb5;
    color: #F9F9F9;
}

.mainbox2 {
    font-size: 1em;
    width: 90%;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.mainboxitalic {
    font-size: 1em;
    font-style: italic;
    width: 90%;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.mainbox3 {
    width: 100%;
    background-color: #DFDFDF;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #FF5EAA;
}

.mainbox2negativ {
    font-size: 1em;
    color: #F9F9F9;
    background-color: #000000;
    padding-right: 20px;
}


.farsiparagraph {
    font-size: 1em;
    width: 47%;
    float: right;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.farsiparagraph_negativ {
    font-size: 1em;
    color: #F9F9F9;
    background-color: #000000;
    width: 47%;
    float: right;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}


.englishparagraph {
    font-size: 1em;
    width: 47%;
    float: left;
    direction: ltr;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.englishparagraph_negativ {
    font-size: 1em;
    color: #F9F9F9;
    background-color: #000000;
    width: 47%;
    float: left;
    direction: ltr;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.rightbox {
    width: 60%;
    padding-right: 20px;
    padding-left: 5px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0px;
    min-width: 0px;
    background-color: #F7F7F7;
}

.titelbox {
    width: 60%;
    padding-right: 25px;
    padding-left: 0px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0px;
    min-width: 0px;
    background-color: #d5d5d5;
    color: #4B4B4B;
}


.lefttbox {
    padding-right: 20px;
    padding-left: 4px;
    float: right;
    margin-bottom: 10px;
    min-width: 0px;
}

.alphabet {
    width: 35%;
    float: left;
    font-size: 20em;
    text-align: center;
    font-weight: 700;
    color: #999999;
}

.alphabet2 {
    width: 35%;
    float: left;
    direction: ltr;
    font-size: 1.6em;
    text-align: left;
    font-weight: 600;
    color: #333333;
    margin-top: 100px;
}

.footer {
    font-weight: 400;
    font-size: 0.7em;
    text-align: center;
    direction: ltr;
    margin-bottom: 0px;
    padding-bottom: 0px;
}


 

.card-header {
    background-color: #f8f9fa;
}
.select2-container .select2-selection--single {
    height: 38px !important
}

.select2-selection__rendered {
    height: 36px !important
}

.select2-container--open {
    z-index: 9999999
}

.table-row-success {
    background-color: #A5D6A7;
}

    .table-row-success:hover {
        background-color: #66BB6A;
    }

.table-row-info {
    background-color: #90CAF9; /* آبی واضح و شیک */
    transition: background-color 0.2s ease-in-out;
}

    .table-row-info:hover {
        background-color: #64B5F6;
    }

.table-row-danger {
    background-color: #EF9A9A; /* قرمز ملایم ولی مشخص */
    transition: background-color 0.2s ease-in-out;
}

    .table-row-danger:hover {
        background-color: #E57373;
    }

.btn-new-green {
    background-color: #2ecc71;
    border-color: #27ae60;
    color: #fff;
}

    .btn-new-green:hover {
        background-color: #27ae60;
    }

.btn-flat-green {
    background-color: #2ecc71; /* سبز فلت */
    border-color: #2ecc71;
    color: #fff;
}

    .btn-flat-green:hover {
        background-color: #27ae60;
        border-color: #27ae60;
    }

    .btn-flat-green:active,
    .btn-flat-green:focus {
        background-color: #1e8449;
        border-color: #1e8449;
        color: #fff;
    }

/* دکمه‌های مترو اصلی */
.metro-btn {
    height: 110px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,.08);
}

    .metro-btn i {
        font-size: 26px;
    }

/* 🔹 دکمه‌های نوار ابزار */
.toolbar {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.1);
    overflow-x: auto; /* اگر جمع دکمه‌ها بیشتر بود، اسکرول افقی */
    white-space: nowrap;
}

 
 

/* موبایل */
@media (max-width: 576px) {
    .metro-btn {
        height: 90px;
        font-size: 14px;
    }

    .metro-toolbar {
        height: 60px;
        font-size: 12px;
    }

        .metro-toolbar i {
            font-size: 16px;
        }
}

.login-page {
    min-height: 100vh;
    background: url('../../Images/shop_back.jpg') no-repeat center center / cover;
    padding: 15px;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 30px 25px;
}

.login-logo {
    width: 90px;
    border-radius: 50%;
}

.input-group-text {
    background: #f1f3f5;
    border-left: 0;
}

.form-control {
    border-right: 0;
}

    .form-control:focus {
        box-shadow: none;
    }

.btn-primary {
    background: #0d6efd;
    border-radius: 12px;
}


.register-page {
    min-height: 100vh;
    background: url('../../Images/shop_back.jpg') no-repeat center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.register-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

    .step.active {
        background: #198754;
        color: #fff;
    }

.line {
    width: 40px;
    height: 3px;
    background: #dee2e6;
}

.step-box {
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.pattern-card {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-radius: 0.75rem;
    background-color: #d4eadf; /* سبز روشن‌تر و ملایم‌تر */
}

    .pattern-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
        background-color: #b6dbca; /* حالت هاور کمی پررنگ‌تر */
    }

.pattern-card-alt {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-radius: 0.75rem;
    background-color: #d9e9f9; /* آبی خیلی ملایم */
}

    .pattern-card-alt:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
        background-color: #b5d1f7; /* هاور آبی روشن‌تر */
    }

.olgoo-btn-group {
    gap: 1rem; /* فاصله بین جفت دکمه‌ها */
}

.olgoo-btn {
    
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    color: white;
    padding: 0.5rem 1.0rem;
    font-size: 0.85rem; /* کوچک‌تر ولی خوانا */
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    cursor: pointer;
    user-select: none;
    color: white;
    border: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .btn-icon-only:focus, .btn-icon-only:hover {
        box-shadow: 0 5px 10px rgba(0,0,0,0.25);
        outline: none;
    }

/* دکمه سبز */
.olgoo-btn-green {
    background: linear-gradient(45deg, #28a745, #218838);
}

    .olgoo-btn-green:hover, .olgoo-btn-green:focus {
        background: linear-gradient(45deg, #218838, #1e7e34);
        box-shadow: 0 6px 12px rgba(33, 136, 56, 0.6);
        outline: none;
    }

/* دکمه آبی */
.olgoo-btn-blue {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

    .olgoo-btn-blue:hover, .olgoo-btn-blue:focus {
        background: linear-gradient(45deg, #0056b3, #004085);
        box-shadow: 0 6px 12px rgba(0, 64, 133, 0.6);
        outline: none;
    }

/* دکمه کوچک سبز */
.btn-sm.btn-success {
    background: #28a745;
}

    .btn-sm.btn-success:hover, .btn-sm.btn-success:focus {
        background: #218838;
    }

/* دکمه کوچک آبی */
.btn-sm.btn-primary {
    background: #007bff;
}

    .btn-sm.btn-primary:hover, .btn-sm.btn-primary:focus {
        background: #0056b3;
    }

/* ریسپانسیو */
@media (max-width: 576px) {
    .olgoo-btn-group {
        flex-direction: column;
    }

        .olgoo-btn-group > div {
            width: 100%;
        }

    .olgoo-btn {
        width: 100%;
    }
}

/*.sticky-end {
            position: sticky;
            right: 0;
            z-index: 3;
            box-shadow: -3px 0 6px rgba(0,0,0,.1);
        }
        .sticky-start {
            position: sticky;
            left: 0;
            z-index: 4;
            background: white;
            box-shadow: 3px 0 6px rgba(0,0,0,0.15);
        }*/
