/* HLM Public Styles */

/* Shared */
.hlm-purchase-wrapper,
.hlm-my-license-wrapper,
.hlm-support-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hlm-purchase-box,
.hlm-license-box,
.hlm-support-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hlm-purchase-box h2,
.hlm-license-box h2,
.hlm-support-box h2 {
    margin-top: 0;
    font-size: 22px;
    color: #1a1a2e;
}

/* Notices */
.hlm-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.hlm-notice-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.hlm-notice-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.hlm-notice-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Form Rows */
.hlm-form-row {
    margin-bottom: 16px;
}

.hlm-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.hlm-form-row input,
.hlm-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.hlm-form-row input:focus,
.hlm-form-row textarea:focus {
    border-color: #1a1a2e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 26, 46, 0.1);
}

/* Buttons */
.hlm-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.hlm-btn-primary {
    background: #1a1a2e;
    color: #fff;
    width: 100%;
}

.hlm-btn-primary:hover {
    background: #2d2d4a;
}

.hlm-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.hlm-btn-secondary:hover {
    background: #e4e4e4;
}

/* Purchase Page */
.hlm-price {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 20px 0 4px;
}

.hlm-price-note {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin: 0 0 20px;
}

.hlm-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.hlm-features li {
    padding: 6px 0;
    color: #555;
    font-size: 15px;
}

.hlm-secure-badge {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 16px;
}

/* My License */
.hlm-license-details {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.hlm-license-details th,
.hlm-license-details td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.hlm-license-details th {
    font-weight: 600;
    color: #555;
    width: 100px;
}

.hlm-license-key-box {
    margin: 20px 0;
}

.hlm-license-key-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hlm-key-display {
    width: 100%;
    font-family: "Courier New", monospace;
    font-size: 13px;
    padding: 12px;
    border: 2px solid #1a1a2e;
    border-radius: 4px;
    background: #f8f9fa;
    box-sizing: border-box;
    resize: none;
}

.hlm-activation-steps ol {
    line-height: 1.8;
    color: #555;
    padding-left: 20px;
}

/* Badges (public) */
.hlm-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hlm-badge-active  { background: #d4edda; color: #155724; }
.hlm-badge-revoked { background: #f8d7da; color: #721c24; }
.hlm-badge-refunded { background: #fff3cd; color: #856404; }

/* Support Form */
.hlm-support-box p {
    color: #555;
    line-height: 1.6;
}
