﻿
.top-bar {
    font-family: Vazir, Tahoma, sans-serif;
    font-size: 14px;
}

.top-bar a {
    text-decoration: none;
}

.top-bar .btn-sm {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.top-bar .btn-danger:hover {
    background-color: #d93657;
    border-color: #d93657;
}

@media (max-width: 576px) {
    .top-bar .btn-sm {
        width: 100%;
        text-align: center;
    }

    .top-bar .d-flex.justify-content-end {
        justify-content: center !important;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px #ff007a, 0 0 10px #ff007a, 0 0 20px #a900ff, 0 0 30px #ff416c, 0 0 40px #ff416c, 0 0 50px #ff007a, 0 0 75px #a900ff;
        opacity: 1;
    }

    50% {
        text-shadow: none;
        opacity: 0.6;
    }
}

.gradient-bg {
    background: linear-gradient(135deg, #a900ff, #ff007a, #ff416c);
    background-size: 200% auto;
}

.form-control-custom {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 15px;
}

.btn-gradient {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(135deg, #a900ff, #ff007a, #ff416c);
    background-size: 200% auto;
    color: #fff;
    border: none;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(255, 0, 122, 0.4);
}

    .btn-gradient:hover {
        background-position: right center;
        transform: scale(1.05);
    }

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 15px; /* فضای سمت راست برای عکس */
    border-radius: 30px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-icon-inside {
    position: absolute;
    float: left;
    top: 50%;
    right: 15px; /* محل قرارگیری عکس داخل input */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.btn-gradient {
    background: linear-gradient(45deg, #28a745, #6f42c1, #007bff);
    width: 150px;
    color: #fff !important;
    border: none;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
    transition: background 0.4s ease;
}

    .btn-gradient:hover {
        background: linear-gradient(45deg, #218838, #5a32a3, #0056b3);
    }




.btn-gradient_login {
    background: #fff;
    width: 100%;
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
    transition: background 0.4s ease;
}

    .btn-gradient_login:hover {
        background: #fff;
        color: #ffffff;
    }

.btn-wrapper {
    display: flex;
    align-items: center; /* عمودی وسط چین */
    gap: 8px; /* فاصله بین دکمه‌ها */
    flex-wrap: nowrap; /* اجازه نده دکمه‌ها بشکنند به خط بعد */
}

    .btn-wrapper a.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 14px;
        font-size: 0.9rem;
        line-height: 1.2;
        white-space: nowrap;
        height: 38px; /* ارتفاع ثابت */
        box-sizing: border-box;
        text-decoration: none;
    }

@media (max-width: 576px) {
    .btn-wrapper {
        justify-content: flex-end; /* یا center بسته به نیاز */
        gap: 6px;
        flex-wrap: nowrap; /* یا wrap اگر دکمه‌ها بشکنند */
    }

        .btn-wrapper a.btn {
            font-size: 0.85rem;
            padding: 6px 12px;
            height: 36px;
        }
}

