@font-face {
  font-family: 'picoreg';
  src: url('../fonts/woff2/Pfont-Regular_p30download.com_.woff2') format('woff2'),
         url('../fonts/woff/Pfont-Regular_p30download.com_.woff') format('woff'),
         url('../fonts/ttf/picoopic-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'picoold';
  src: url('../fonts/woff2/Pfont-Regular_p30download.com_.woff2') format('woff2'),
         url('../fonts/woff/Pfont-Regular_p30download.com_.woff') format('woff'),
         url('../fonts/ttf/picoopic-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'picoblack';
  src: url('../fonts/woff2/Pfont-Regular_p30download.com_.woff2') format('woff2'),
         url('../fonts/woff/Pfont-Regular_p30download.com_.woff') format('woff'),
         url('../fonts/ttf/picoopic-Black.ttf') format('truetype');
}
@font-face {
    font-family: Pico;
    src: url('../fonts/eot/Pfont-Regular_p30download.com_.eot');
    src: url('../fonts/eot/Pfont-Regular_p30download.com_.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/Pfont-Regular_p30download.com_.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/Pfont-Regular_p30download.com_.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/picoopic-Black.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}
/*------------------ style frontend details -----------------------*/
.detail-wrap {
  border:2px solid black;
  background: url('../images/icon-back-OWL.png') 0 0;
  background-color: #4ecdc4;
  border-radius: 10px !important;
  align-content: center;
  margin: 5px;
  padding: 5px;
  max-width: 100% !important;
}
div.detail-transbox {
    margin: 30px;
    background-color: #ffffff;
    border: 1px solid black;
    opacity: 0.6;
    filter: alpha(opacity=60); /* For IE8 and earlier */
}
div.detail-transbox h1 {
    font-weight: bold;
    color: #000000;
    font-family: IRANSans!important;
    text-align: center;
    padding: 20px;
    font-weight: 900;
}
.cert-di {
    width: 1123px;
  text-align: -moz-center;
  text-align: -webkit-center;
}
.details-diven {
width: 350px;
text-align: center;
font-size: 22px;
line-height: 1;
padding: 1px 5px 100px 5px;
margin: 2px 50px 2px 10px;
}
.details-divenn {
width: 350px;
text-align: center;
font-size: 22px;
line-height: 1;
}
.details-diven h2 {
    font-family: IRANSans!important;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    font-weight: 900;
}
.details-divenn h2 {
    font-family: IRANSans!important;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    font-weight: 900;
}
.details-divfa {
  width: 685px;
  text-align: center;
  margin-top: 0px;
  font-size: 22px;
  padding: 5px 15px 50px 15px;
  margin: 2px 10px 50px 10px;
  line-height: 2;
}
.details-divfaa {
  text-align: center;
  font-size: 22px;
  line-height: 2;
}
.details-divfa p {
  text-align: right;
  padding: 10px;
}
.details-psen {
  font-family: IRANSans!important;
  font-size: 18px;
  line-height: 1.5;
}
.details-psnameen {
  font-family: IRANSans!important;
  font-size: 22px;
  line-height: 1.5;
}
.details-psfa {
  font-family: IRANSans!important;
  font-size: 18px;
  line-height: 2.5;
}
.details-psfa1 {
  font-family: IRANSans!important;
  font-size: 20px;
  line-height: 2.5;
  font-weight: 900;
}
.details-psnamefa {
  font-family: IRANSans!important;
  font-size: 22px;
  line-height: 2.5;
  font-weight: 900;
}
.details-emzatbl {
  margin: 10px 50px 10px 50px;
}
.details-emzatd {
  width:50%;
}
.details-emzafa {
  font-family: IRANSans!important;
  padding: 0px 50px 3px 50px;
  margin: 0px 10px 3px 20px;
  align-content: center;
  text-align: center;
  font-size: 16px;
}
.details-download-btn {
  font-family: IRANSans!important;
  color:#fff!important;
  background-color: #26a69ad6!important;
  display:block!important;
  line-height:40px!important;
  max-width: 60%!important;
  padding:10px 20px!important;
  border:none !important;
  border-radius:10px !important;
  font-weight:600!important;
  font-size:16px !important;
  margin:20px auto!important;
}
.details-download-btn:hover {
  cursor:pointer;
  background-color: #009935!important;
}
/*------------------ style admin-search -----------------------*/
    .certificate-search-wrap {
      font-family: IRANSans!important;
        background-color: #f5f7fa;
        padding: 20px;
        margin: 20px 0;
        border-radius: 10px;
    }
    .certificate-search-wrap h2 {
      font-family: IRANSans!important;
    }
    .certificate-search-container {
        background: #fff;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    }
    .certificate-search-header {
        text-align: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #eaeaea;
    }
    .certificate-search-header h2 {
        color: #2c3e50;
        margin: 0 0 10px 0;
        font-size: 24px;
        font-weight: 600;
    }
    .certificate-search-header p {
        color: #7f8c8d;
        margin: 0;
        font-size: 14px;
    }
    .certificate-search-form {
        max-width: 600px;
        margin: 0 auto;
    }
    .form-search-input-group {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .certificate-search-input {
        flex: 1;
        padding: 14px 18px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    .certificate-search-input:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }
    .certificate-search-input::placeholder {
        color: #a0a0a0;
    }
    .certificate-search-button {
        font-family: IRANSans!important;
        display: flex!important;
        align-items: center!important;
        gap: 8px!important;
        background-color: #3498db!important;
        color: white!important;
        border: none!important;
        padding: 8px 22px!important;
        border-radius: 8px!important;
        font-size: 16px!important;
        font-weight: 600!important;
        cursor: pointer!important;
        transition: all 0.3s ease!important;
        box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3)!important;
    }
    .certificate-search-button:hover {
        background-color: #2980b9!important;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
    }
    .certificate-search-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
    }
    .search-icon {
        font-size: 16px;
    }
    /* رسپانسیو برای تبلت */
    @media (max-width: 768px) {
        .certificate-search-container {
            padding: 20px;
        }
        .form-search-input-group {
            flex-direction: column;
            gap: 12px;
        }
        .certificate-search-input,
        .certificate-search-button {
            width: 100%;
        }
    }
    /* رسپانسیو برای موبایل */
    @media (max-width: 480px) {
        .certificate-search-wrap {
            padding: 15px;
        }
        .certificate-search-container {
            padding: 18px;
        }
        .certificate-search-header h2 {
            font-size: 20px;
        }
        .certificate-search-input {
            padding: 12px 15px;
            font-size: 14px;
        }
        .certificate-search-button {
            padding: 12px 18px;
            font-size: 14px;
        }
    }
/*------------------ style frontend-details -----------------------*/

    /* استایل‌های جدول نتایج */
    .certificate-results-container {
        background: #fff;
        border-radius: 10px;
        padding: 25px;
        margin: 25px 0;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    }
    .certificate-results-title {
        color: #2c3e50;
        text-align: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #eee;
        font-size: 24px;
        font-weight: 600;
    }
    .certificate-results-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        overflow: hidden;
    }
    .certificate-results-table thead {
        background-color: #3498db;
    }
    .certificate-results-table th {
        color: white;
        padding: 15px;
        text-align: right;
        font-weight: 600;
        font-size: 16px;
    }
    .certificate-results-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        text-align: right;
    }
    .certificate-results-table tr:nth-child(even) {
        background-color: #f8f9fa;
    }
    .certificate-results-table tr:hover {
        background-color: #e8f4fc;
    }
    .certificate-results-button {
        display: inline-block;
        padding: 8px 16px;
        background-color: #2ecc71;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        text-align: center;
    }
    .certificate-results-button:hover {
        background-color: #27ae60;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
    }
    .no-results-message {
        text-align: center;
        padding: 30px;
        color: #7f8c8d;
        font-size: 18px;
        background: #f8f9fa;
        border-radius: 8px;
        margin: 20px 0;
    }
    /* رسپانسیو برای تبلت */
    @media (max-width: 992px) {
        .certificate-results-table {
            display: block;
            overflow-x: auto;
        }
        .certificate-results-table th,
        .certificate-table td {
            padding: 10px 12px;
            font-size: 14px;
        }
        .certificate-results-button {
            padding: 6px 12px;
            font-size: 13px;
        }
    }
    /* رسپانسیو برای موبایل */
    @media (max-width: 768px) {
        .certificate-results-container {
            padding: 20px;
        }
        .certificate-results-title {
            font-size: 20px;
            margin-bottom: 20px;
        }
        .certificate-results-table {
            display: block;
            width: 100%;
        }
        .certificate-results-table thead {
            display: none;
        }
        .certificate-results-table tbody,
        .certificate-results-table tr,
        .certificate-results-table td {
            display: block;
            width: 100%;
        }
        .certificate-results-table tr {
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        .certificate-results-table td {
            padding: 10px;
            border: none;
            border-bottom: 1px dashed #eee;
            position: relative;
            padding-right: 50%;
            text-align: right;
        }
        .certificate-results-table td:last-child {
            border-bottom: none;
        }
        .certificate-results-table td:before {
            content: attr(data-label);
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-weight: bold;
            color: #2c3e50;
            background: #f8f9fa;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
        }
        .certificate-results-table td:nth-child(1):before { content: "نام"; }
        .certificate-results-table td:nth-child(2):before { content: "نام خانوادگی"; }
        .certificate-results-table td:nth-child(3):before { content: "کد ملی"; }
        .certificate-results-table td:nth-child(4):before { content: "دوره آموزشی"; }
        .certificate-results-table td:nth-child(5):before { content: "عملیات"; }

        .no-results-message {
            padding: 20px;
            font-size: 16px;
        }
    }
    @media (max-width: 480px) {
        .certificate-results-container {
            padding: 15px;
        }
        .certificate-results-table td {
            padding-right: 45%;
        }
        .certificate-results-table td:before {
            font-size: 11px;
            right: 5px;
        }
        .certificate-results-button {
            width: 100%;
            margin-top: 5px;
        }
    }
