/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */

.nemrac-prm {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.nemrac-prm h2 {
    font-weight: 600;
    margin-bottom: 20px;
}

.nemrac-prm select,
.nemrac-prm input,
.nemrac-prm button {
    padding: 8px;
    margin-bottom: 10px;
}

.nemrac-prm-entry {
    max-width: 1000px;
    margin: 0px auto;
    padding: 0 25px;
    background: #fff;
    border-radius: 6px;
}

.prm-meta {
    margin: 20px 0;
    font-size: 14px;
    color: #555;
}

.prm-entry-form .form-row {
    margin-bottom: 15px;
}

.prm-entry-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.prm-entry-form input,
.prm-entry-form select,
.prm-entry-form textarea {
    width: 100%;
}

.btn-submit {
    padding: 10px 20px;
    cursor: pointer;
}


.line-block {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.line-block h4 {
    margin-bottom: 10px;
    color: #333;
}

.line-block .row {
    margin-bottom: 8px;
}

.line-block label {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
}

.line-grid input, .line-block textarea {
    width: 100%;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff9dc;
}

#production_date {
    padding: 6px;
    margin-bottom: 10px;
    max-width: 250px;
}


/*Entry Page*/
.prm-title {
    text-align: center;
    margin: 0 0 32px 0;
    text-decoration: underline;
}

.prm-meta i {
    margin-right: 7px;
}
.prm-meta strong {
    width: 56px;
    display: inline-block;
}
.nemrac-prm-entry {
    max-width: 900px;
    margin: 0px auto;
    font-family: Inter, Arial, sans-serif;
}

.prm-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.user-description table, .user-description tr, .user-description td, .user-description th, .user-description tbody{
    background: #fff !important;
    border: none !important;
}

.user-description span {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.prm-icon {
    width: 50px;
    height: 50px;
    background: #e9f2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0d6efd;
}

.prm-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
}

.prm-filter label {
    font-weight: 600;
    font-size: 14px;
}

.prm-filter input, .prm-filter select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    height: 40px;
}

.prm-filter-date {
    display: grid;
    align-content: start;
    width: 250px;
}

.prm-filter-section-dropdown {
    display: grid;
    align-content: start;
    width: 250px;
}

.line-block {
    border: 2px solid #e6f4ea;
    border-radius: 10px;
    padding: 20px;
    background: #f9fffb;
}

.line-block h4 {
    margin-bottom: 15px;
    color: #198754;
}

.line-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.line-grid label {
    font-size: 13px;
    font-weight: 600;
}

.line-grid input,
.line-block textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.submit-area {
    text-align: center;
    margin-top: 30px;
}

.submit-area button {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
}

.submit-area button:hover {
    opacity: .9;
}

.success-msg-container {
    border-radius: 8px;
    font-weight: 600;
}

#digital-clock {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
  }

.user-description-area {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.today-dt {
    text-align: right;
}

.today-dt span {
    font-size: 17px;
    font-weight: bold;
}

#digital-clock {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
    margin: 7px 0;
}

#today-date {
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    /* text-align: center; */
}

@media (max-width: 1000px) {
  .prm-filter {
      display: flex;
      flex-wrap: nowrap;
      justify-content: center;
  }
}


#production_date::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.prm-filter-date {
    position: relative;
    display: flex;
    flex-direction: column;
}

#production_date {
    position: relative;
    padding-right: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232271b1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 24px;
}

#production_date:hover {
    border-color: #2271b1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23135e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}




/*Home*/
.npm-stats-grid {
    display: flex;
    gap: 35px;
    margin-bottom: 20px;
    justify-content: center;
}
.npm-stats-grid .npm-stat-card {
    box-shadow: 0px 0px 6px -1px;
    padding: 4px 17px;
    border-radius: 7px;
    width: 182px;
    height: 67px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.npm-stat-card h3 {
    font-size: 15px;
    font-weight: normal;
    text-align: center;
}
.npm-stats-grid .npm-stat-card .value {
    font-size: 20px;
    font-weight: bold;
}
.npm-stats-grid .npm-stat-card .value span {
    font-size: 15px;
}



.npm-main-container { display: flex; gap: 20px; margin-top: 20px; align-items: flex-start; }
.npm-content-area { flex: 3; }
.npm-sidebar { flex: 1; display: flex; flex-direction: column; gap: 20px; }

/* Sidebar Widgets */
.npm-widget { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.npm-widget h3 { font-size: 16px; color: #444; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.npm-award-item { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.npm-award-icon { font-size: 24px; }

/* Line Details Accordion */
.npm-line-details { background: #f9f9f9; padding: 10px; border-top: 1px solid #eee; }

.npm-dashboard-wrapper { font-family: sans-serif; padding: 20px; background: #f4f7f9; }
.npm-stat-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.npm-stat-card h3 { margin: 0; font-size: 14px; color: #888; text-transform: uppercase; }
.npm-stat-card .value { font-size: 24px; font-weight: bold; margin-top: 10px; }

.npm-main-container { display: flex; gap: 20px; }
.npm-content-area { flex: 3; }
.npm-sidebar { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.npm-card-table { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.npm-card-table th { background: #f8f9fa; padding: 15px; border-bottom: 2px solid #eee; color: #666; font-size: 13px; }
.npm-card-table td { padding: 12px 15px; border-bottom: 1px solid #f1f1f1; }

.badge-pct { padding: 4px 10px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: bold; display: inline-block; }
.bg-high { background-color: #28a745; }
.bg-mid  { background-color: #ffc107; color: #000; }
.bg-low  { background-color: #dc3545; }
.bg-high-text { color: #28a745; }
.bg-mid-text  { color: #b98b00; }
.bg-low-text  { color: #dc3545; }

.npm-widget { background: #fff; padding: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.npm-award-item { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.npm-award-icon { font-size: 30px; }
.section-row { cursor: pointer; }
.section-row:hover { background: #f0f4f7 !important; }