@font-face {
  font-family: 'El Messiri';
  src: url('../fonts/ElMessiri-Medium.woff2') format('woff2'),
  url('../fonts/ElMessiri-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'El Messiri';
  margin: 0;
  padding: 0;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .50) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .50) 50%, rgba(255, 255, 255, .50) 75%, transparent 75%, transparent);
  background-size: 200px 200px;
}
body, select,option, button {
  font-family:'El Messiri';
  font-weight: bold;
}
h4 {
  font: bold 16px 'El Messiri';
}
/* ===== جدول Swift Codes ===== */

.t1 {
    width: 90%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-family: 'El Messiri', Tahoma, sans-serif;
    margin: 0 auto;
}

.t1 td.m1 {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #eef1f6;
    font-size: 15px;
    color: #FFF;
    background: #0b3565;
}
.t1 td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #eef1f6;
    font-size: 15px;
    color: #222;
}

.tooltip div {
    padding: 5px;
}
/* صف العناوين */

/* كود السويفت */
.a1 {
    font-weight: bold;
    color: #0b3565;
    letter-spacing: 1px;
    background: #f4f7fb;
}

/* اللوقو */


/* تأثير hover للصف */
.t1 tbody tr:hover {
    background-color: #f9fbff;
    transform: scale(1.002);
    transition: 0.2s ease-in-out;
}

/* ===== أزرار النسخ والمشاركة ===== */

.tooltip {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.t2, .t3 {
    border: none;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    background: #eef3f9;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

.t2:hover {
    background: #0b8fe6;
    color: #fff;
    transform: translateY(-1px);
}

.t3:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-1px);
}

/* Tooltip نص النسخ */
.tooltiptext {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #0b3565;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-right: -150px;
    transition: 0.2s;
    white-space: nowrap;
    z-index: 10;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* لوقو */
.b1 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ===== موبايل ===== */
@media (max-width: 480px) {
    .t1 td {
        font-size: 18px;
        padding: 10px 0px;
    }

    .tooltip {
        flex-direction: column;
        gap: 6px;
    }
}

.main3 h1, .main3 h2, .main3 h3 {
    text-align: center;
}