/* anitala.ir - Custom Stylesheet */

/* --- Font Definition --- */
@font-face {
    font-family: 'Kara';
    src: url('../fonts/SGKara-Regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/SGKara-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/SGKara-Regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/SGKara-Regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/SGKara-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- General Styles --- */
body {
    font-family: 'Kara', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.section-title i {
    margin-left: 8px;
}

/* --- Price Card Styles --- */
.price-card {
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    padding: 1rem;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.price-card .card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-card .card-icon {
    font-size: 1.5rem;
    margin-left: 10px;
}

.price-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    direction: ltr; /* For correct number display */
    text-align: right;
    margin-bottom: 0.5rem;
}

.price-card .price .unit {
    font-size: 0.9rem;
    font-weight: normal;
    margin-right: 5px;
}

.price-card .change {
    font-size: 1rem;
    direction: ltr;
    text-align: right;
    font-weight: bold;
}

.price-card .change.positive {
    color: #198754; /* Bootstrap success green */
}

.price-card .change.negative {
    color: #dc3545; /* Bootstrap danger red */
}

.price-card .change.zero {
    color: #6c757d; /* Bootstrap secondary grey */
}

.price-card .card-footer {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: auto; /* Pushes footer to the bottom */
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

/* --- Cryptocurrency Card Specifics --- */
.crypto-description {
    font-size: 0.85rem;
    color: #495057;
    margin-top: 0.5rem;
    flex-grow: 1; /* Allows description to take available space */
}

/* --- Footer Styles --- */
footer {
    background-color: #e9ecef !important;
}
