﻿/* base.css */
@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Farhang";
    src: url("../fonts/Farhang-ExtraBlack.woff2") format("woff2");
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

:root {
    --kimia-font-family: "Farhang", Tahoma, sans-serif;
    --kimia-weight-title: 800;
    --kimia-weight-subtitle: 700;
    --kimia-weight-body: 400;
    --kimia-weight-caption: 300;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--kimia-font-family);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--kimia-weight-title);
}

strong, b {
    font-weight: var(--kimia-weight-subtitle);
}

small, .caption-text {
    font-weight: var(--kimia-weight-caption);
}

body {
    background-color: #f7f7f7;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

a {
    color: #3fbd90;
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.btn-primary {
    background-color: #08b275;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}
.btn-primary:hover {
    background-color: #e64a19;
}
.btn-primary:disabled {
    background-color: #ffab91;
    cursor: not-allowed;
}

.error-msg {
    color: #d32f2f;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

@media (max-width: 768px) {
    body {
        padding: 12px;
        align-items: flex-start;
    }

    .btn-primary {
        min-height: 44px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
}

