html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/iran/fonts/woff2/IRANSansX-Light.woff2') format('woff2'), url('../fonts/iran/fonts/woff/IRANSansX-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "bootstrap-icons";
    src: url("../icons/fonts/bootstrap-icons.woff2") format("woff2"), url("../icons/fonts/bootstrap-icons.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin: 0;
    font-family: 'IRANSansX', sans-serif !important;
}
.container{
    max-width: 700px;
}
h2{
    font-weight: 600;
    color: #333;
}
.upload-card, .sentence-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.button.btn img{
    transition: transform 0.2s ease;
}

button.btn:hover img{
    transform: scale(1.2)
}

button:disabled {
    opacity:0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.card{
    animation: fadeIn 0.6s ease-in-out;
    background: #fff;
}

@keyframes fadeIn{
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0); 
    }
}

.word-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0 2px;
    cursor: pointer;
    color: #000;
    transition: color .15s, transform .1s;
}

    .word-button:hover {
        color: #dc3545;
        transform: scale(1.02);
    }

    .word-button.incorrect {
        color: #dc3545 !important;
        font-weight: 600;
    }

    .word-button:focus {
        outline: none;
    }

.download-btn {
    background-color: #FFFFFF;
    border: none;
    display: contents;
}

.review-progress {
    color: #858585;
    margin-top: 10px;
}

.page-active {
    color: #FFFFFF;
    background-color: #007bff;
    border-color: #007bff;
}

    .page-active:hover {
        color: #FFFFFF;
        background-color: #007bff;
        border-color: #007bff;
    }

.page-button {
    color: #333333;
}

    .page-button:hover {
        color: #333333;
        background-color: #bababa;
        border-color: #bababa;
    }