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

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

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

body {
    background-color: #1e1e1e;
    color: #e0e0e0;
    font-family: 'iranyekan', sans-serif;
    margin: 0;
    padding: 20px;
    direction: rtl;
}

.container {
    max-width: 600px;
    margin: auto;
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

h2 {
    text-align: center;
}

button {
    background-color: #444;
    color: #fff;
    padding: 10px 18px;
    margin: 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #555;
}

#progress-bar {
    background-color: #444;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

#progress {
    height: 10px;
    background-color: #00bcd4;
    width: 0%;
    transition: width 0.3s ease;
}

.options {
    margin-top: 20px;
}

.option-btn {
    display: block;
    width: 100%;
    margin: 6px 0;
    padding: 12px;
    background-color: #3a3a3a;
    border: none;
    border-radius: 10px;
    color: #eee;
    cursor: pointer;
    text-align: right;
}

.option-btn.selected {
    background-color: #00bcd4;
    color: #000;
}

.result-message {
    font-size: 1.4rem;
    margin: 30px 0;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.result-positive {
    background-color: rgba(64, 192, 87, 0.1);
    color: #40c057;
    border: 1px solid #40c057;
}

.result-negative {
    background-color: rgba(255, 77, 109, 0.1);
    color: #ff4d6d;
    border: 1px solid #ff4d6d;
}
.category-percentages {
    margin-top: 30px;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}

.category-item {
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item span {
font-weight: bold;
    font-size: 1rem;
    margin: 6px;
}