* {
    font-family: "Open Sans", Sans-serif;
}

.login-form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

/* Content styles */
.container {
    max-width: 1137px;
    margin: 0px auto;
    margin-top: 10px;
}

.card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #00000021;
}

.profile-header {
    display: flex;
    align-items: center;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 20px;
}

.profile-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.profile-actions {
    display: flex;
    margin-bottom: 15px;
}

.btn {
    padding: 8px 20px;
    border-radius: 20px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid #333;
    background-color: white;
    color: #000;
}

.btn-primary {
    background-color: #5c2d91;
    color: white;
    border: none;
}

.btn-secondary {
    border: 1px solid #219653;
    color: #219653;
    background-color: white;
}

.profile-tabs {
    display: flex;
}

.profile-tab {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: #333;
    font-weight: 600;
}

.tab-icon {
    color: #219653;
    margin-right: 5px;
    font-size: 20px;
}

.tab-icon.event {
    color: #219653;
    display: flex;
    align-items: center;
}

.tab-icon.event svg,
.tab-icon.follow svg {
    width: 23px;
    height: 23px;
}

.tab-icon.follow {
    color: #219653;
    display: flex;
    align-items: center;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0px;
}

.card-text {
    font-size: 16px;
    margin: 0px;
    font-weight: 400;
    line-height: 34.05px;
    letter-spacing: 0%;

}

.feature-item {
    margin-bottom: 20px;
}

.feature-title {
    font-weight: bold;
    font-size: 16px;
}

.feature-description {
    color: #666;
    font-style: italic;
}

.toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.toggle-btn {
    padding: 8px 30px;
    border-radius: 20px;
    margin: 0 5px;
    cursor: pointer;
    width: 166px;

    font-weight: bold;
}

.toggle-off {
    color: #000 !important
}

.toggle-on {
    background-color: #5c2d91;
    color: white;
    border: none;
}

.toggle-off {
    border: 1px solid #333;
    background-color: white;
}

.premium-card {
    background: linear-gradient(to right, #5c2d91, #9c27b0);
    color: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    margin: 20px auto;
}

.premium-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.premium-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.premium-title {
    font-size: 18px;
    font-weight: bold;
}

.premium-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-left: auto;
}

.premium-progress {
    background-color: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    margin-top: 10px;
}

.premium-progress-fill {
    background-color: white;
    height: 100%;
    width: 70%;
    border-radius: 4px;
}

.right-aligned {
    margin-left: auto;
}

.card-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-outline:hover {
    background-color: #5c2d91 !important;
}

/* a:hover {
    background-color: #5c2d91 !important;
    color: white !important;
    border: 1px solid #5c2d91 !important;
} */

button:hover {
    background-color: #5c2d91 !important;
    color: white !important;
    border: 1px solid #5c2d91 !important;
}

/* Popup Background */
.popup_qr_code {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Content Container */
.popup_qr_code_content {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* Close Button */
.popup_close_btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}

/* Left Side - QR Code/Image */
.popup_qr_code_content_left {
    flex: 1;
    max-width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
}

.popup_qr_code_content_left img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Right Side - Ticket Information */
.popup_qr_code_content_right {
    flex: 1.5;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Ticket Header */
.ticket_header {
    margin-bottom: 25px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
}

.ticket_header h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 5px 0;
}

.ticket_header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Ticket Info */
.ticket_info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket_info_item {
    display: flex;
    align-items: flex-start;
}

.ticket_info_label {
    min-width: 120px;
    font-weight: bold;
    color: #555;
}

.ticket_info_value {
    color: #333;
    flex: 1;
}

/* Event Details Section */
.event_details {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

.event_details h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .popup_qr_code_content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .popup_qr_code_content_left {
        max-width: 100%;
        padding: 15px;
    }

    .popup_qr_code_content_right {
        padding: 20px;
    }
}

.popup_close_btn {
    cursor: pointer;
}

.profile-tab a {
    display: flex;
    color: #000;
}

.profile-tab a:hover {
    background-color: none !important;
    color: #000 !important;
    background: none !important;
    border: none !important;
}

.flex_thongtin_block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.flex_thongtin_block .item_select {
    width: 18%;
    border: 1px solid #00000059;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    text-align: center;
    font-weight: bold;
}

.flex_thongtin_block .item_select:hover {
    background-color: #5c2d91;
    color: white;
}

.flex_thongtin_block .item_select span {
    font-size: 14px;
}

.flex_thongtin_block .item_select.active {
    background-color: #5c2d91;
    color: white;
}

.popup_form_dien_thong_tin_block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-tab span {
    cursor: pointer;
}

.btn_save_nganhnghe {
    background-color: #5c2d91;
    color: white;
    border: none !important;
}
.thongtin_ca_nhan_item a{
    color:#fff !important;
}

@media (max-width: 600px) {
    .btn {
        padding: 8px 8px;
        font-size: 13px;
    }
.temp-profile .profile_block{
    padding-top:70px;
}

    .container {
        padding: 10px;
    }

    .profile-tab span {
        cursor: pointer;
        font-size: 13px;
    }

    .form_dien_thong_tin {
        width: 100%;
    }

    .flex_thongtin .form-group {
        width: 100%;
    }

    #form_dien_thong_tin {
        margin-top: 0px;
    }

    .flex_thongtin::before {
        width: 0px;
    }

    .form-group h2 {
        margin-bottom: 20px;
    }

    .flex_thongtin {
        gap: 0px;
        flex-direction: column;
    }

    .form_dien_thong_tin {
        overflow: scroll;
        max-height: 86vh;
    }

    .avatar img {
        width: 130px !important;
        height: 130px !important;
    }

    .flex_thongtin_block {
        gap: 10px;
    }

    .flex_thongtin_block .item_select {
        width: calc(33.33% - 10px);
        border: 1px solid #00000059;
        padding: 10px;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 89px;
        text-align: center;
        font-weight: bold;
    }
}