/* ========================================
   My Info Page Styles
   ======================================== */

/* My Info Section */
.myinfo-section {
    padding: 40px 0 80px;
    background: #15191F;
    min-height: calc(100vh - 300px);
    margin-top: 120px;
}

.myinfo-content {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column - Account Info */
.account-info-column {
    flex: 0 0 300px;
}

/* Section Title Badge */
.section-title-badge {
    display: inline-block;
    background: linear-gradient(90deg, #3a7bd5 0%, #2563eb 80%);
    padding: 12px 35px 12px 20px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    margin-bottom: 20px;
}

.section-title-badge span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Bank Card */
.bank-card {
    background: linear-gradient(135deg, #1a3a5a 0%, #0d2540 100%);
    border-radius: 12px;
    padding: 30px 25px;
    border: 1px solid rgba(58, 123, 213, 0.3);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bank-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.bank-details {
    text-align: right;
}

.account-number {
    color: #ccc;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.account-holder {
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
}

/* Right Column - Member Info */
.member-info-column {
    flex: 1;
}

.member-info-card {
    background: linear-gradient(180deg, #1a2535 0%, #151a22 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Member Header */
.member-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.welcome-message {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* Info Table */
.info-table {
    padding: 0 30px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 180px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.info-value {
    flex: 1;
    color: #ccc;
    font-size: 14px;
}

.info-value strong {
    color: #fff;
    font-weight: 600;
}

.info-value .highlight {
    color: #3a7bd5;
}

.info-value-sub {
    color: #888;
    font-size: 14px;
    margin-left: 20px;
}

.info-ip {
    color: #3a7bd5;
    font-size: 13px;
    margin-left: auto;
}

.info-action {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

/* Action Buttons */
.btn-edit {
    padding: 8px 16px;
    background: #2a3a5a;
    color: #fff;
    border: 1px solid #3a5070;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-edit:hover {
    background: #3a4a6a;
    border-color: #4a6080;
}

.btn-deposit {
    padding: 8px 16px;
    background: #2a3a5a;
    color: #fff;
    border: 1px solid #3a5070;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-deposit:hover {
    background: #3a4a6a;
    border-color: #4a6080;
}

.btn-withdraw {
    padding: 8px 16px;
    background: #3a7bd5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-withdraw:hover {
    background: #2a6bc5;
}

.btn-convert {
    padding: 8px 16px;
    background: #2a3a5a;
    color: #fff;
    border: 1px solid #3a5070;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-convert:hover {
    background: #3a4a6a;
    border-color: #4a6080;
}

/* FAQ Section */
.faq-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    margin: 20px 30px 30px;
    border-radius: 8px;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.faq-tag {
    display: inline-block;
    background: #2a3a5a;
    color: #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.btn-inquiry {
    padding: 12px 30px;
    background: #3a7bd5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-inquiry:hover {
    background: #2a6bc5;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .myinfo-section {
        margin-top: 60px;
        padding: 30px 15px 60px;
    }

    .myinfo-content {
        flex-direction: column;
    }

    .account-info-column {
        flex: 0 0 auto;
    }

    .info-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .info-label {
        flex: 0 0 150px;
    }

    .info-action {
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .myinfo-section {
        padding: 20px 15px 50px;
    }

    .member-header {
        padding: 20px;
    }

    .info-table {
        padding: 0 20px;
    }

    .info-row {
        padding: 15px 0;
    }

    .info-label {
        flex: 0 0 100%;
        margin-bottom: 5px;
        font-size: 13px;
    }

    .info-value {
        flex: 1;
        font-size: 13px;
    }

    .info-value-sub {
        margin-left: 10px;
    }

    .info-ip {
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    .info-action {
        flex: 0 0 100%;
        margin-top: 10px;
    }

    .faq-section {
        flex-direction: column;
        gap: 15px;
        margin: 15px 20px 20px;
        padding: 15px 20px;
    }

    .faq-content {
        width: 100%;
    }

    .faq-action {
        width: 100%;
    }

    .btn-inquiry {
        width: 100%;
    }

    .bank-card {
        padding: 25px 20px;
        min-height: 140px;
    }

    .bank-name {
        font-size: 18px;
    }

    .account-number {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-title-badge {
        padding: 10px 30px 10px 15px;
    }

    .section-title-badge span {
        font-size: 14px;
    }

    .member-title {
        font-size: 18px;
    }

    .welcome-message {
        font-size: 13px;
    }

    .btn-edit,
    .btn-deposit,
    .btn-withdraw,
    .btn-convert {
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* ========================================
   Edit Info Popup
   ======================================== */

.edit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-popup-overlay.active {
    opacity: 1;
}

.edit-popup {
    background: linear-gradient(180deg, #1e2a3a 0%, #151a22 100%);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.edit-popup-overlay.active .edit-popup {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #555;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: #777;
}

.popup-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.popup-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.popup-content {
    padding: 25px 30px;
}

/* Popup Info Table */
.popup-info-table {
    margin-bottom: 25px;
}

.popup-info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-info-row:last-child {
    border-bottom: none;
}

.popup-info-label {
    flex: 0 0 160px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
}

.popup-info-value {
    flex: 1;
    color: #ccc;
    font-size: 13px;
}

.popup-info-value strong {
    color: #fff;
    font-weight: 600;
}

.popup-info-value .highlight {
    color: #3a7bd5;
}

/* Password Form */
.password-form {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-label {
    flex: 0 0 140px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
}

.form-input {
    flex: 1;
    padding: 12px 15px;
    background: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.form-input:focus {
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.5);
}

/* Popup Actions */
.popup-actions {
    display: flex;
    gap: 15px;
    padding: 20px 30px 30px;
    justify-content: center;
}

.btn-submit {
    padding: 14px 50px;
    background: #3a7bd5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #2a6bc5;
}

.btn-cancel {
    padding: 14px 50px;
    background: #d4a641;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #c49631;
}

/* Popup Responsive */
@media (max-width: 576px) {
    .edit-popup {
        width: 95%;
        margin: 20px;
    }

    .popup-header {
        padding: 20px;
    }

    .popup-content {
        padding: 20px;
    }

    .popup-info-label,
    .form-label {
        flex: 0 0 120px;
        font-size: 12px;
    }

    .popup-info-value {
        font-size: 12px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-label {
        flex: 0 0 auto;
    }

    .form-input {
        width: 100%;
    }

    .popup-actions {
        flex-direction: column;
        padding: 15px 20px 25px;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
        padding: 12px;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ========================================
   Inquiry Popup
   ======================================== */

.inquiry-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inquiry-popup-overlay.active {
    opacity: 1;
}

.inquiry-popup {
    background: linear-gradient(180deg, #1e2a3a 0%, #151a22 100%);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.inquiry-popup-overlay.active .inquiry-popup {
    transform: translateY(0);
}

/* Inquiry Form */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-form-label {
    color: #888;
    font-size: 13px;
    font-weight: 500;
}

.inquiry-form-input {
    padding: 12px 15px;
    background: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.inquiry-form-input:focus {
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.5);
}

.inquiry-form-select {
    padding: 12px 15px;
    background: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
    cursor: pointer;
}

.inquiry-form-select:focus {
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.5);
}

.inquiry-form-textarea {
    padding: 12px 15px;
    background: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.inquiry-form-textarea:focus {
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.5);
}

/* Inquiry Popup Responsive */
@media (max-width: 576px) {
    .inquiry-popup {
        width: 95%;
        margin: 20px;
    }

    .inquiry-form-label {
        font-size: 12px;
    }

    .inquiry-form-input,
    .inquiry-form-select,
    .inquiry-form-textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
}
