body {
    font-family: 'Vazirmatn', sans-serif; /* فرض می‌کنیم فونت وزیرمتن در دسترس است یا از طریق CDN اضافه می‌شود */
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

h1 {
    color: #007bff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.5em;
    font-weight: 700;
}

.description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 35px;
    color: #555;
    padding: 0 15px;
}

.stars-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.package-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.package-card h3 {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 600;
}

.package-card .price {
    font-size: 1.5em;
    color: #28a745;
    font-weight: 700;
    margin-top: 10px;
}

.custom-amount {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 30px;
}

.custom-amount h2 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.custom-amount p {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.05em;
    color: #666;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.input-group input {
    width: 200px;
    padding: 12px 18px;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #007bff;
}

.input-group .currency-label {
    font-size: 1.2em;
    margin-right: 10px; /* برای راست به چپ */
    color: #555;
}

.calculated-price {
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
    color: #333;
}

.calculated-price span {
    color: #dc3545;
    font-size: 1.2em;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background-color: #e9ecef;
    color: #6c757d;
    font-size: 0.9em;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 12px 12px;
}

.enamad-container {
    margin-bottom: 20px;
}

.enamad-container img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Basic responsive adjustments */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    h1 {
        font-size: 2em;
    }

    .package-card {
        padding: 15px;
    }

    .package-card h3 {
        font-size: 1.6em;
    }

    .package-card .price {
        font-size: 1.3em;
    }

    .custom-amount h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .input-group input {
        width: 150px;
    }
}

/* New styles for Alarm Packages */
.alarm-packages {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 40px;
}

.alarm-packages h2 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.alarm-packages p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.05em;
    color: #666;
}

.alarm-packages .package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.alarm-package-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.alarm-package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alarm-package-card h3 {
    color: #007bff;
    font-size: 1.6em;
    margin-bottom: 8px;
    font-weight: 600;
}

.alarm-package-card .price {
    font-size: 1.3em;
    color: #28a745;
    font-weight: 700;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .alarm-packages {
        padding: 20px;
    }

    .alarm-packages h2 {
        font-size: 1.8em;
    }
} 