* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Tajawal", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #4f46e5, #020617 40%),
                radial-gradient(circle at bottom right, #22c55e, #020617 45%);
    color: #f9fafb;
    padding: 20px;
}

/* الخلفية الضبابية */
.blur-bg {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: -1;
}

/* الحاوية الأساسية */
.main-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
}


/* الكارد */
.card {
    width: 100%;
    background: rgba(15, 23, 42, 0.92);
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(148,163,184,0.3);
}

/* نصوص */
.title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* مدخلات النص */
input {
    width: 100%;
    background: rgba(15,23,42,0.95);
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.5);
    padding: 12px;
    color: #f9fafb;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99,102,241,0.7);
}

/* زر */
.button-primary {
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #22c55e);
    color: #020617;
    padding: 14px;
    font-size: 1rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.button-primary:hover {
    opacity: 0.95;
}
.proxy-table {
        min-width: 900px; /* حتى لا ينضغط */
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 0.85rem;
}

.proxy-table th,
.proxy-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(148,163,184,0.3);
    text-align: right;
}

.proxy-table th {
    color: #e5e7eb;
    font-weight: 600;
}

.proxy-table td code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    direction: ltr;
    text-align: left;
    display: block;
    background: rgba(15,23,42,0.95);
    border-radius: 10px;
    padding: 6px 8px;
}

/* رابط الرجوع */
.link-back {
    color: #a5b4fc;
    text-decoration: none;
}

.link-back:hover {
    text-decoration: underline;
}

/* أزرار التعديل والحذف داخل البروكسيات */
.proxy-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.proxy-actions a {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.2s ease;
    font-weight: 500;
}

/* زر التعديل */
.proxy-edit {
    background: rgba(0, 150, 255, 0.1);
    color: #4dabf7;
    border: 1px solid rgba(0, 150, 255, 0.3);
}
.proxy-edit:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
}

/* زر الحذف */
.proxy-delete {
    background: rgba(255, 80, 80, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 80, 80, 0.3);
}
.proxy-delete:hover {
    background: rgba(255, 80, 80, 0.2);
    border-color: rgba(255, 80, 80, 0.5);
}

/* يدعم الجوال */
@media (max-width: 480px) {
    .card {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .title {
        font-size: 1.4rem;
    }
}


