#aghaz-otp-app {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
}

#aghaz-otp-app h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

#aghaz-otp-app input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

#aghaz-otp-app button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #0073e6;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#aghaz-otp-app button:hover {
    background-color: #005bb5;
}

#aghaz-otp-app button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.aghaz-msg {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.aghaz-msg.aghaz-error {
    background-color: #fcebeb;
    color: #d9534f;
    border: 1px solid #d9534f;
}

.aghaz-msg.aghaz-success {
    background-color: #ecf8f3;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.reg-fields {
    margin-top: 20px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

.reg-fields.hidden {
    display: none;
}



/* ===== Panel Styles (RTL) ===== */
.aghaz-panel {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    margin: 40px auto;
    max-width: 1200px;
}

/* Sidebar */
.panel-sidebar {
    width: 340px;
    background: #1f2737; /* تیره مثل تصویر */
    color: #fff;
    padding: 32px 24px;
}
.panel-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}
.panel-avatar img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 9999px;
    border: 6px solid rgba(255,255,255,0.15);
    background: #324156;
}
.panel-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.panel-menu li { margin-bottom: 14px; }
.panel-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eaf0f6;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    transition: background .25s ease, color .25s ease;
}
.panel-menu a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.panel-menu .dashicons { font-size: 20px; }

/* Content */
.panel-content {
    flex: 1;
    background: #f5f7fb; /* پس‌زمینه روشن مثل عکس */
    padding: 32px 32px 40px;
}
.panel-content h2 {
    font-size: 26px;
    margin: 0 0 18px;
    color: #0f172a;
    text-align: right;
}

/* Alerts (top messages) */
.panel-alert {
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1.8;
    text-align: right;
}
.panel-alert.success {
    background: #eaf7ee;
    border-color: #b8ebc8;
    color: #1b8a52;
}
.panel-alert.info {
    background: #eef3fb;
    border-color: #c9d7f2;
    color: #2b5c9a;
}

/* Boxes (shortcode containers) */
.panel-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    margin-top: 18px;
    box-shadow: 0 6px 16px rgba(15,23,42,0.06);
    text-align: right;
}

/* Responsive */
@media (max-width: 980px) {
    .aghaz-panel { flex-direction: column-reverse; }
    .panel-sidebar { width: 100%; border-radius: 0 0 16px 16px; }
}
