.ci-warning {
    color: #ffeb81;
}

.registerMainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
    padding: 50px;
    padding-top: 70px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    background: #000 url("../images/background/registerBg.png") center / cover no-repeat;
}

.registerBtnBack {
    position: absolute;
    z-index: 1;
    top: 40px;
    left: 40px;

    width: fit-content;
    min-width: 100px;
    min-height: 40px;
    border-radius: 50px;

    border: 1px solid #fff;
    background: #ffffff63;
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

.registerContentMainLayout {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1090px;
    min-height: 350px;
    padding: 20px;

    display: none;
    flex-direction: column;
    align-items: center;
}

.registerContentMainLayout.show {
    display: flex;
}

.registerTitle {
    font-family: "PSL150pro", sans-serif;
    font-size: 50px;
    line-height: 60px;
}

.landingpageText {
    background: linear-gradient(180deg,
            #ffffc0 0%,
            #c68c36 100%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 4px rgba(255, 230, 130, 0.35));
}

.registerContent {
    width: 100%;
    min-height: 200px;
    padding: 25px;
    border-radius: 20px;

    background: #ffffff15;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-label {
    height: 20px;
    font-size: 14px;
    font-weight: 700;
}

.form-select {
    min-height: 40px;
    font-size: 14px;
}

.form-select {
    border: 1px solid #ffffff31;
    background: #ffffff31;
    color: #ffffff5d;
}

.form-select option:first-child {
    color: #ffffff5d;
}

.form-select option:not(:first-child) {
    color: #ffffff;
    background: #222;
}

.form-select:has(option:not(:first-child):checked) {
    color: #fff;
}

.form-select option {
    color: #fff;
    background: #222;
}

.form-select option:first-child {
    color: #ffffff5d;
    background: #222;
}

.form-control {
    width: 100%;
    min-height: 40px;
    font-size: 14px;

    border: 1px solid #ffffff31;
    background: #ffffff31;
    color: #fff;
}

.form-control::placeholder {
    color: #ffffff5d;
    opacity: 1;
}

.form-control:focus {
    border: 1px solid #ffffff31;
    background: #ffffff31;
    color: #fff;
}

/* ===============================
   Upload Img
================================ */

.registerUploadImgWrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.registerUploadImgBtn {
    width: fit-content;
    height: 40px;
    padding: 5px 20px;
    border-radius: 8px;
    margin-top: 2px;
    border: 1px solid #ffffff31;
    background: #ffffff31;
    color: #ffffffdc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    line-height: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.registerUploadImgBtn:hover {
    background: #ffffff45;
    border-color: #ffffff55;
}

.registerUploadImgBtn:active {
    transform: scale(0.97);
}

.registerUploadImgNote {
    font-size: 14px;
    line-height: 14px;
}

.registerUploadImgPreview {
    width: 54px;
    height: 54px;
    padding: 6px;
    border-radius: 8px;

    border: 1px solid #ffffff45;
    background: #ffffff18;

    display: none;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    overflow: hidden;
}

.registerUploadImgPreview.show {
    display: flex;
}

.registerUploadImgPreview img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    display: block;
}

.agree-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    /* background: #1c1c1c;
    padding: 12px 18px;
    border-radius: 8px; */
    color: #fff;
    font-size: 15px;
}

/* custom checkbox */
.agree-box input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    border: 2px solid #666;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.agree-box input[type="checkbox"]:checked {
    background: #fff;
    border-color: #fff;
}

.agree-box input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #0d0d0d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agree-box label {
    cursor: pointer;
    user-select: none;
}


.required-star {
    color: #ff4d4d;
}

.registerFormSubmit {
    width: 260px;
    height: 50px;
    padding: 10px 20px;

    background: url("../images/button/button_2_2.png");
    background-position: center;
    background-size: cover;
    border: 0px solid transparent;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: #fff;
    font-size: 23px;
    line-height: 23px;
    font-family: "PSL150pro", sans-serif;

    transition:
        transform 0.5s ease,
        filter 0.3s ease;
}

.registerFormSubmit:hover {
    transform: scale(1.06);
    filter: drop-shadow(1px 1px 5px #fff383);
}

.registerFormSubmit:active {
    transform: scale(0.9);
}

.registerFormError {
    width: 100%;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;

    border: 1px solid #a80000;
    background: #a800001c;
    color: #ff0000;

    font-size: 12px;
    line-height: 12px;
    font-weight: 600;

    display: none;
    align-items: center;
}

.registerFormError.show {
    display: flex;
}

textarea.form-control {
    min-height: 60px;
}

/*  ==================
      Modal
    ================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;

    background: #0000007a;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #1c1c1c;
    color: #eee;
    width: 90%;
    max-width: 991px;
    max-height: 80vh;
    border-radius: 12px;
    padding: 25px;

    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease;

    font-size: 14px;
    line-height: 20px;
}

.modal-box h2 {
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    color: #ffeb81;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.modal-close:hover {
    background: #ddd;
}

.custom-list {
    margin-bottom: 0px;
}

.custom-list li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 20px;
}

.modal-box .table thead tr,
.modal-box .table tbody tr {
    height: 45px;
}

.modal-box .table td,
.modal-box .table th {
    vertical-align: middle;
}

ul {
    margin-top: 5px;
}

/*  ==================
      SweetAlert2 Theme
    ================== */

.swal-theme-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.swal-theme-popup {
    width: auto;
    max-width: 420px;
    padding: 30px 25px 25px;
    border-radius: 16px;

    border: 1px solid #ffffff2a;
    background: #141414ee url("../images/background/registerBg.png") center / cover no-repeat;
    background-blend-mode: overlay;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.swal-theme-title {
    font-family: "PSL150pro", sans-serif;
    font-size: 28px !important;
    line-height: 34px;
    margin-bottom: 6px !important;
    padding: 0 !important;

    background: linear-gradient(180deg, #ffffc0 0%, #c68c36 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 4px rgba(255, 230, 130, 0.35));
}

.swal-theme-text {
    color: #ffffffcc !important;
    font-size: 14px !important;
    line-height: 1.7;
}

.swal-theme-actions {
    gap: 12px;
    margin-top: 22px !important;
}

.swal-theme-confirm {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    border-radius: 50px;

    border: 1px solid #ffffff55 !important;
    background: linear-gradient(180deg, #ffffc0 0%, #c68c36 100%) !important;
    box-shadow: none !important;

    color: #1c1500 !important;
    font-size: 15px;
    font-weight: 700;

    transition: transform 0.2s ease, filter 0.2s ease;
}

.swal-theme-confirm:hover {
    transform: scale(1.06);
    filter: drop-shadow(1px 1px 5px #fff383);
}

.swal-theme-confirm:focus {
    box-shadow: none !important;
}

.swal-theme-cancel {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    border-radius: 50px;

    border: 1px solid #ffffff45 !important;
    background: #ffffff18 !important;
    box-shadow: none !important;

    color: #fff !important;
    font-size: 15px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.swal-theme-cancel:hover {
    background: #ffffff30 !important;
    border-color: #ffffff66 !important;
}

.swal-theme-popup .swal2-close {
    color: #ffffffaa !important;
    transition: color 0.2s ease;
}

.swal-theme-popup .swal2-close:hover {
    color: #fff !important;
}

.swal-theme-popup .swal2-icon.swal2-question {
    border-color: #c68c36;
    color: #c68c36;
}

.swal-theme-popup .swal2-icon.swal2-success {
    border-color: #c68c36;
}

.swal-theme-popup .swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: #c68c36;
}

.swal-theme-popup .swal2-icon.swal2-success .swal2-success-ring {
    border-color: #c68c3655;
}

.swal-theme-popup .swal2-icon.swal2-error {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

.swal-theme-popup .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #ff4d4d;
}

.swal-theme-text a {
    color: #c68c36;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.swal-theme-text a:hover {
    color: #ffffc0;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    display: none;
}

/*  ==================
      INFO
    ================== */

.regInfo_dataMainLayout {
    width: 100%;
    min-height: 35px;
    padding: 10px 0px;
    border-bottom: 1px solid #ffffff4b;

    display: flex;
    align-items: start;
    justify-content: space-between;
}

.regInfo_dataMainLayout:last-child {
    border-bottom: 1px solid transparent;
}

.regInfo_dataMainLayout #title {
    font-size: 16px;
    font-weight: 700;

    width: fit-content;
    min-width: 150px;
}

.regInfo_dataMainLayout #data {
    font-size: 16px;
    font-weight: 500;

    width: 500px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.rehInfo_guildImg {
    width: 120px;
    height: 120px;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.regInfoBtnCancel {
    position: relative;
    width: 220px;
    height: 42px;
    border: 0px solid transparent;
    padding: 5px 10px;

    background: url("../images/button/button_2_3.png");
    background-position: center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 20px;
    font-family: "PSL150pro", sans-serif;
    color: #fff;

    transition:
        transform 0.5s ease,
        filter 0.3s ease;
}

.regInfoBtnCancel:hover {
    transform: scale(1.06);
    filter: drop-shadow(1px 1px 5px #f15050);
}

.regInfoBtnCancel:active {
    transform: scale(0.9);
}

.regInfoBtnEdit {
    position: relative;
    width: 220px;
    height: 42px;
    border: 0px solid transparent;
    padding: 5px 10px;

    background: url("../images/button/button_2_2.png");
    background-position: center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 20px;
    font-family: "PSL150pro", sans-serif;
    color: #fff;

    transition:
        transform 0.5s ease,
        filter 0.3s ease;
}

.regInfoBtnEdit:hover {
    transform: scale(1.06);
    filter: drop-shadow(1px 1px 5px #fff383);
}

.regInfoBtnEdit:active {
    transform: scale(0.9);
}

#termsModal .modal-accept {
    opacity: 1;
    transition: opacity 0.2s ease;
}

#termsModal .modal-accept:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
