﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/iransans/IRANSansWeb.eot');
    src: url('../fonts/iransans/IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('../fonts/iransans/IRANSansWeb.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb.woff') format('woff'), url('../fonts/iransans/IRANSansWeb.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/iransans/IRANSansWeb_Bold.eot');
    src: url('../fonts/iransans/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/iransans/IRANSansWeb_Bold.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_Bold.woff') format('woff'), url('../fonts/iransans/IRANSansWeb_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --app-font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    --font-family-sans-serif: var(--app-font-family);
}

html,
body,
button,
input,
select,
textarea,
.form-control,
.btn,
.dropdown-menu,
.modal,
.table {
    font-family: var(--app-font-family) !important;
}
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.persian-date-input-group {
  direction: ltr;
}

.persian-date-input-group .js-persian-date-picker {
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.persian-date-clear-btn {
  min-width: 42px;
  padding-right: .65rem;
  padding-left: .65rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.issuance-attachment-panel {
  margin-top: 14px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #f8fafc;
  overflow: hidden;
}

.issuance-attachment-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.issuance-attachment-panel-header strong,
.issuance-attachment-panel-header small,
.issuance-attachment-meta strong,
.issuance-attachment-meta small {
  display: block;
}

.issuance-attachment-panel-header small,
.issuance-attachment-meta small {
  margin-top: 3px;
  color: #64748b;
  font-size: .78rem;
}

.issuance-attachment-count {
  flex: 0 0 auto;
  padding: 3px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: .78rem;
  font-weight: 800;
}

.issuance-attachment-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.issuance-attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.issuance-attachment-meta {
  min-width: 0;
}

.issuance-attachment-meta strong {
  overflow-wrap: anywhere;
  color: #334155;
}

.issuance-attachment-empty {
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  text-align: center;
  background: #ffffff;
}

@media (max-width: 576px) {
  .issuance-attachment-panel-header,
  .issuance-attachment-item {
    align-items: flex-start;
  }

  .issuance-attachment-item {
    flex-direction: column;
  }

  .issuance-attachment-item .btn {
    width: 100%;
  }
}
