
/* DINASTY V80 — MEMBER OPERATIONS */

.ops-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.ops-panel {
    min-width: 0;
    margin: 18px 0;
    padding: 25px;
    border-radius: 26px;
    border: 1px solid #D4B47835;
    background: linear-gradient(
        145deg,#18386D,#061A40
    );
    box-shadow: 0 12px 35px #00091B25;
    text-align: left;
}

.ops-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.ops-heading h3 {
    margin: 0;
    font-size: 18px;
    color: #F3F6FF;
}

.ops-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 17px;
    background: linear-gradient(
        145deg,#F6DEAA,#A77B35
    );
    color: #00133C;
}

.ops-icon svg {
    width: 26px;
    height: 26px;
}

.ops-grid > .ops-panel:nth-child(2) .ops-icon {
    color: white;
    background: linear-gradient(
        145deg,#70B9FF,#265AC0
    );
}

.ops-panel label {
    display: block;
    margin: 16px 0 8px;
    color: #B7C9E8;
    font-size: 12px;
    font-weight: 600;
}

.ops-panel input:not([type=checkbox]),
.ops-panel select {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 13px 16px;
    border: 1px solid #A2B5D540;
    border-radius: 16px;
    outline: none;
    background: #00133C90;
    color: #F3F6FF;
    font-family: inherit;
}

.ops-panel select option {
    background: #00133C;
    color: white;
}

.ops-panel input:focus,
.ops-panel select:focus {
    border-color: #D4B478;
}

.ops-panel p {
    font-size: 12px;
    line-height: 1.7;
    color: #B7C9E8;
}

.ops-panel .ops-button,
#ops-registration .ops-button {
    min-height: 44px;
    padding: 12px 20px;
    margin-top: 12px;
    border-radius: 50px;
    background: linear-gradient(
        125deg,#FFF0C4,#D4B478,#B7893F
    );
    color: #00133C;
    border: 1px solid #F1D8A1;
    font-size: 12px;
    font-weight: 800;
}

.ops-panel .ops-button:disabled,
#ops-registration .ops-button:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.ops-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ops-actions button {
    flex: 1 1 auto;
}

.ops-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #FFFFFF15;
    font-size: 12px;
}

.ops-detail span {
    color: #A2B5D5;
}

.ops-detail strong {
    min-width: 0;
    text-align: right;
    color: #F4DCA5;
    overflow-wrap: anywhere;
}

.ops-position-card {
    padding: 20px;
    border: 1px solid #D4B47835;
    border-radius: 20px;
    margin-bottom: 15px;
    background: #00133C50;
}

.ops-position-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ops-position-top h3 {
    margin: 0;
    color: #F4DCA5;
}

.ops-position-top span {
    font-size: 12px;
    color: #A2B5D5;
}

.ops-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.ops-check input {
    width: 18px;
    height: 18px;
    accent-color: #D4B478;
}

.ops-admin-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
}

.ops-admin-stat {
    min-width: 0;
    background: #00133C80;
    border: 1px solid #D4B47825;
    border-radius: 18px;
    padding: 18px;
}

.ops-admin-stat span {
    color: #A2B5D5;
    font-size: 11px;
}

.ops-admin-stat strong {
    display: block;
    margin-top: 12px;
    color: #F4DCA5;
    font-size: 19px;
    overflow-wrap: anywhere;
}

.ops-history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #FFFFFF15;
    gap: 15px;
    font-size: 12px;
}

.ops-history-row small {
    display: block;
    color: #A2B5D5;
    margin-top: 6px;
}

.ops-history-row a {
    color: #F4DCA5;
    flex-shrink: 0;
}

#ops-status {
    position: fixed;
    z-index: 500;
    right: 20px;
    bottom: 25px;
    width: min(400px,calc(100% - 40px));
    box-sizing: border-box;
    padding: 16px 20px;
    background: #102C55;
    color: #E7EEF9;
    border: 1px solid #D4B47860;
    border-radius: 18px;
    box-shadow: 0 15px 40px #00091B80;
    font-size: 12px;
    overflow-wrap: anywhere;
    pointer-events: none;
}

#ops-status:empty {
    display: none;
}

#ops-status[data-type=error] {
    border-color: #F08080;
}

#ops-status[data-type=success] {
    border-color: #85D4CB;
}

#ops-admin[hidden],
#ops-member-packs[hidden],
#ops-registration[hidden] {
    display: none !important;
}

@media(max-width:1200px) {
    .ops-admin-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:850px) {
    .ops-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #ops-status {
        bottom: 110px;
    }
}

@media(max-width:540px) {

    .ops-panel {
        padding: 19px;
        border-radius: 22px;
    }

    .ops-position-card {
        padding: 15px;
    }

    .ops-heading h3 {
        font-size: 16px;
    }

    .ops-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ops-panel .ops-button {
        width: 100%;
    }

    .ops-admin-stat {
        padding: 13px;
    }

    .ops-admin-stat strong {
        font-size: 16px;
    }
}

