/* MO License Manager - My Account styles */

.molm-license {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    margin: 0 0 16px 0;
}

.molm-license-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.molm-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.molm-badge-pending { background: #fff3cd; color: #856404; }
.molm-badge-active  { background: #d4edda; color: #155724; }
.molm-badge-expired { background: #f8d7da; color: #721c24; }
.molm-badge-revoked { background: #e2e3e5; color: #383d41; }

.molm-plan { font-weight: 600; }

.molm-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.molm-key {
    font-family: Consolas, Menlo, monospace;
    background: #f4f4f4;
    padding: 6px 10px;
    border-radius: 4px;
    word-break: break-all;
}

.molm-details { margin: 8px 0; }
.molm-details th {
    text-align: left;
    padding-right: 12px;
    white-space: nowrap;
    vertical-align: top;
}

.molm-activate-form input[type="text"] {
    width: 100%;
    max-width: 420px;
    margin: 4px 8px 8px 0;
}

.molm-inline-form { display: inline-block; margin: 4px 0; }
.molm-renew-hint { color: #721c24; margin: 8px 0 0 0; }
.molm-software-name { margin-top: 24px; }

/* Product page - pricing plan picker
   (the same rules are also inlined by MOLM_Frontend::render_plan_picker
   so the picker works even when a builder template skips this file) */

.molm-plans {
    --molm-accent: #7f54b3;
    --molm-accent-soft: rgba(127, 84, 179, .08);
    max-width: 460px;
    margin: 0 0 18px 0;
}

.molm-plans-title {
    font-weight: 600;
    margin: 0 0 10px 0;
}

.molm-plan-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e3e3ea;
    border-radius: 10px;
    background: #fff;
    padding: 12px 16px;
    margin: 0 0 10px 0;
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.molm-plan-option:hover { border-color: var(--molm-accent); }

.molm-plan-option input[type=radio] {
    accent-color: var(--molm-accent);
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
}

.molm-plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
    text-align: left;
}

.molm-plan-label { font-weight: 700; }

.molm-plan-duration {
    font-size: .85em;
    color: #777;
}

.molm-plan-price {
    margin-left: auto;
    font-weight: 800;
    font-size: 1.05em;
    color: var(--molm-accent);
    white-space: nowrap;
}

.molm-plan-option.molm-selected {
    border-color: var(--molm-accent);
    background: var(--molm-accent-soft);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}
