/**
 * PP License Manager — cart, checkout and order-detail domain list
 */

.pp-lm-cart-line-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: #fff;
    margin-top: .5rem;
    border: 1px solid #dee2e6;
    padding: .6rem 0.8rem;
    border-radius: .4rem;
    color: #555;
    font-size: 1.3rem;
    line-height: 1.35;
}

.pp-lm-cart-line-options {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
}

.pp-lm-cart-line-options li {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.2rem 0.4rem;
    margin: 0;
    padding: 0.15rem 0;
}
.pp-lm-cart-line-options li+li {
    border-top: 1px dashed #ddd;
    padding-top: 0.15rem;
}

.pp-lm-cart-line-domain {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    color: #2d6bbf;
}

.pp-lm-cart-line-domain .material-icons {
    font-size: 1.4rem;
    color: #2d6bbf;
}

.pp-lm-cart-line-options .material-icons {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    font-size: 1.4rem;
    color: #28a745;
}

.pp-lm-cart-line-opt-label {
    flex: 1 1 12rem;
    min-width: 0;
    color: #777;
}

.pp-lm-cart-line-opt-price {
    margin-left: auto;
    color: #777;
    white-space: nowrap;
}

.pp-lm-cart-line-opt-mode {
    margin-left: 0.2rem;
    color: #777;
    font-weight: 600;
}

.media-list .media {
    flex-wrap: wrap;
}

.media-list .media > .pp-lm-cart-line-info,
.product-line-grid > .pp-lm-cart-line-info,
.order-line > .col-xs-12 > .pp-lm-cart-line-info {
    flex: 1 0 100%;
    max-width: 100%;
    width: 100%;
}

.product-line-grid {
    flex-wrap: wrap;
}

.pp-order-domains {
    margin: 2rem 0;
    padding: 2rem;
    background: #fff;
    border: 0.1rem solid #dee2e6;
    border-radius: 0.4rem;
}

.pp-order-domains h3 {
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 0.2rem solid #00aff0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.pp-order-domain-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.pp-order-domain-table thead {
    background: #f8f9fa;
}

.pp-order-domain-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 0.2rem solid #dee2e6;
}

.pp-order-domain-table td {
    padding: 1.2rem;
    border-bottom: 0.1rem solid #dee2e6;
    vertical-align: top;
}

.pp-order-domain-table tbody tr:hover {
    background-color: #f8f9fa;
}

.pp-domain-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 0.3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pp-domain-status.pending {
    background-color: #f8d974;
    color: #856404;
}

.pp-domain-status.approved {
    background-color: #d4edda;
    color: #155724;
}

.pp-domain-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.pp-admin-note {
    margin-top: 0.8rem;
    padding: 0.8rem;
    font-size: 1.4rem;
    border-radius: 0.3rem;
}

.pp-admin-note strong {
    display: block;
    margin-bottom: 0.5rem;
}

.pp-admin-note.pending {
    background: #fff3cd;
    border-left: 0.3rem solid #ffc107;
    color: #856404;
}

.pp-admin-note.approved {
    background: #d4edda;
    border-left: 0.3rem solid #28a745;
    color: #155724;
}

.pp-admin-note.rejected {
    background: #f8d7da;
    border-left: 0.3rem solid #dc3545;
    color: #721c24;
}
