.tcm-codes-display {
    direction: rtl;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.tcm-codes-display h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.tcm-code-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.tcm-code-box:last-child {
    margin-bottom: 0;
}

.tcm-product-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.tcm-code-row,
.tcm-phone-row,
.tcm-url-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tcm-label {
    font-weight: bold;
    min-width: 120px;
    color: #555;
}

.tcm-code-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tcm-code-text {
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 4px;
    letter-spacing: 1px;
    direction: ltr;
    display: inline-block;
}

.tcm-copy-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.tcm-copy-btn:hover {
    background: #135e96;
}

.tcm-copy-btn.copied {
    background: #00a32a;
}

.tcm-phone-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tcm-phone-input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    direction: ltr;
    text-align: left;
    width: 180px;
}

.tcm-phone-input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.tcm-confirm-phone {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.tcm-confirm-phone:hover {
    background: #135e96;
}

.tcm-phone-msg {
    font-size: 12px;
    margin-right: 5px;
}

.tcm-phone-msg.success {
    color: #00a32a;
}

.tcm-phone-msg.error {
    color: #d63638;
}

.tcm-activate-btn {
    background: #00a32a;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}

.tcm-activate-btn:hover {
    background: #008a20;
    color: #fff;
}

.tcm-my-codes {
    direction: rtl;
    margin: 20px 0;
}

.tcm-my-codes table {
    direction: rtl;
}

.tcm-my-codes th,
.tcm-my-codes td {
    text-align: right;
}
