/* @override http://127.0.0.1:8084/css/4D/licenseList.css */

.div_licenses2011_level1{
	position:relative;
	border:1px solid #e1e1e1;
	border-top:none;
	background-color:#ececec;
	background-image:url('/sites/all/themes/dimention/images/common/ql_header_bkg.jpg');
	background-repeat:repeat-x;
}

.div_licenses2011_level1_title{
	padding-top:5px;
	padding-left: 5px;
	color:#fff;
}

.div_licenses2011_level1_description {
	font-style: italic;
	padding-left: 5px;
	padding-right: 5px;
}

.div_licenses2011_level2{
	background-image:url('/sites/all/themes/dimention/images/common/box_fade.jpg');
	background-repeat:repeat-x;
	font: 12px/17px arial;
	border-top: 1px solid #cccece;
	margin-right: 0;
	margin-top: 6px;
}

#main_content_3 .div_licenses2011_level2 h3 {
	margin-top: 6px;
}

#main_content_3 .div_licenses2011_level2 a {
	font-size: 17px;
	padding-left: 15px;
	margin-left: 5px;
	text-decoration: none;
}

#main_content_3 .div_licenses2011_level2 p {
	margin-top: -6px;
	padding-left: 15px;
	margin-left: 5px;
	margin-bottom: 4px;
}

.a_licenses2011_level2_closed {
	background: url(/images/closed.gif) no-repeat 0 3px;
}

.a_licenses2011_level2_opened {
	background: url(/images/expanded.gif) no-repeat 0 3px;
}

.div_licenses2011_level3 {
	border-top: 1px solid #e1e1e1;
	margin-left: 15px;
	margin-top: 6px;
}

.div_licenses2011_level3 img {
	width: 32px;
	margin-right: 9px;
	vertical-align: -10px;
}

.a_licenses2011_level3_closed {
	background: url(/images/closed.gif) no-repeat 0 3px;
}

.a_licenses2011_level3_opened {
	background: url(/images/expanded.gif) no-repeat 0 3px;
}

#main_content_3 .div_licenses2011_level3 a {
	text-decoration: none;
	color:#666666;
}

#main_content_3 .div_licenses2011_level3 h3 {
	margin-bottom: 13px;
}

#div_licenses2011_level3_Model{
	display: none;
	visibility: hidden;
}

#div_licenses2011_level3_loading_Model{
	display: none;
	visibility: hidden;
}

.div_licenses2011_level3_loading {
	border-top: 1px solid #e1e1e1;
	margin-left: 15px;
	height: 44px;
	text-align: center;
	padding-top: 6px;
}

/* LEVEL 4*/
.div_licenses2011_level4 {
	border-top: 1px solid #e1e1e1;
	margin-left: 15px;
	padding-top: 6px;
	margin-top: 6px;
}

.a_licenses2011_level4_closed {
	background: url(/images/closed.gif) no-repeat 0 3px;
}

.a_licenses2011_level4_opened {
	background: url(/images/expanded.gif) no-repeat 0 3px;
}

#main_content_3 .div_licenses2011_level4 a {
	text-decoration: none;
	color:#666666;
	font-size: 14px;
}

#main_content_3 .div_licenses2011_level4 h3 {
	margin-bottom: 13px;
}

#div_licenses2011_level4_Model{
	display: none;
	visibility: hidden;
}

#div_licenses2011_level4_loading_Model{
	display: none;
	visibility: hidden;
}

.div_licenses2011_level4_loading {
	border-top: 1px solid #e1e1e1;
	margin-left: 15px;
	height: 44px;
	text-align: center;
	padding-top: 6px;
}

/* LEVEL 5*/
.div_licenses2011_level5 {
	margin-left: 15px;
	border-top: 1px solid #f8f8f8;
	display: block;
	position: relative;
}

#main_content_3 .div_licenses2011_level5 a {
	text-decoration: none;
	color: #465c85;
	font-size: 11px;
	padding-left: 0;
}

#main_content_3 .div_licenses2011_level5 a:hover {
	text-decoration: underline;
}

#main_content_3 .div_licenses2011_level5 h3 {
	margin-bottom: 0;
	display: inline-block;
	position: relative;
	height: 16px;
	margin-top: 2px;
}

#div_licenses2011_level5_Model{
	display: none;
	visibility: hidden;
}

#div_licenses2011_level5_header_Model {
	display: none;
	visibility: hidden;
}

.div_licenses2011_level5_header {
	text-align: right;
}

.div_licenses2011_level5_header img {
	width: 276px;
	height: 104px;
	margin-right: 27px;
	margin-bottom: 3px;
}

#div_licenses2011_level5_footer_Model {
	display: none;
	visibility: hidden;
}

.div_licenses2011_level5_footer {
	position: relative;
	left: 270px;
	display: block;
	margin-top: 6px;
	font-size: 9px;
	line-height: 11px;
}

#div_licenses2011_level5_loading_Model{
	display: none;
	visibility: hidden;
}

.div_licenses2011_level5_loading {
	border-top: 1px solid #e1e1e1;
	margin-left: 15px;
	height: 44px;
	text-align: center;
	padding-top: 6px;
}

.licenses2011_platform {
	display: inline-block;
	position: absolute;
	left: 219px;
	width: 32px;
	height: 12px;
	top: 2px;
}

.licenses2011_platform img {
	height: auto;
	width: auto;
}

.licenses2011_feature1Nbre {
	display: inline-block;
	position: absolute;
	left: 254px;
	background-color: #d0d2d2;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature2Nbre {
	display: inline-block;
	position: absolute;
	left: 274px;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature3Nbre {
	display: inline-block;
	position: absolute;
	left: 294px;
	background-color: #d0d2d2;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature4Nbre {
	display: inline-block;
	position: absolute;
	left: 314px;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature5Nbre {
	display: inline-block;
	position: absolute;
	left: 334px;
	background-color: #d0d2d2;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature6Nbre {
	display: inline-block;
	position: absolute;
	left: 354px;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature7Nbre {
	display: inline-block;
	position: absolute;
	left: 374px;
	background-color: #d0d2d2;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature8Nbre {
	display: inline-block;
	position: absolute;
	left: 394px;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature9Nbre {
	display: inline-block;
	position: absolute;
	left: 413px;
	background-color: #d0d2d2;
	width: 20px;
	text-align: center;
	padding: 2px 0 4px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature10Nbre {
	display: inline-block;
	position: absolute;
	left: 434px;
	width: 35px;
	text-align: left;
	padding: 2px 0 4px 3px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

.licenses2011_feature11Nbre {
	display: inline-block;
	position: absolute;
	background-color: #d0d2d2;
	left: 470px;
	width: 90px;
	text-align: left;
	padding: 2px 0 4px 3px;
	margin: 0;
	height: 12px;
	font-size: 9px;
	top: 0;
}

#div_licenses2011_level6_Model{
	display: none;
	visibility: hidden;
}

.div_licenses2011_level6 {
	position: fixed;
	left: 50%;
	top: 190px;
	width: 610px;
	z-index: 101;
	
	border:1px solid #dadada;
	background-image:url('/sites/all/themes/dimention/images/common/box_fade.jpg');
	background-color:#ececec;
	background-repeat: repeat-x;
	min-width:2px;
	min-height:2px;
	color:#666666;
	padding: 0 20px 20px;
	font: 12px arial;
	margin-left: -475px;
}

.div_licenses2011_level6 h3{
	color: #465c85;
	font-size: 14px;
	background: url(/sites/all/themes/dimention/images/sp/bmenu_separator.jpg) repeat-x 0 19px;
	padding-bottom: 4px;
	margin-top: 13px;
}

.div_licenses2011_level6_loading {
	height: 31px;
	text-align: center;
	padding-top: 6px;
}

.div_licenses2011_level6_buttons {
	text-align: right;
	margin-top: 17px;
}
.div_licenses2011_level6_buttons a {
	border:1px solid #fb7109;
	color:#ffffff;
	text-decoration:none;
	padding: 4px 10px;
	font: bold 12px arial;
	background-color: #fb7109;
}

.div_licenses2011_level6_img {
	display: inline-block;
	position: relative;
}

.div_licenses2011_level6_img img {
	width: 50px;
}

.div_licenses2011_level6_NAME {
	font-weight: bold;
	font-size: 18px;
	display: inline-block;
	position: relative;
	top: -17px;
	left: 7px;
}

.licenses2011_label {
	font-weight: bold;
}

.td_licenses2011_level6_PLATEFORM img {
	display: inline-block;
	position: relative;
	top: 2px;
}

/* =============================================================
   v2 LICENSES PAGE – REDESIGN
   ============================================================= */

/* Fill the full viewport height (header is 52px; !important needed since dimention_2026.css loads after) */
#main_content_3 {
    min-height: calc(100vh - 92px) !important;
    box-sizing: border-box;
}

/* Controls bar */
.licenses-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lic-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    min-width: 200px;
}

.lic-search-box input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #374151;
    background: transparent;
    width: 100%;
    font-family: "Inter", sans-serif;
}

.lic-controls-mid {
    display: flex;
    gap: 8px;
}

.lic-ctrl-dropdown {
    position: relative;
}

.lic-ctrl-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}

.lic-ctrl-btn:hover {
    background: #f9fafb;
}

.lic-btn-arrow {
    font-size: 11px;
    color: #6b7280;
}

.lic-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    min-width: 165px;
    z-index: 200;
    padding: 4px 0;
}

.lic-drop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 14px;
    font-size: 14px;
    color: #374151;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    gap: 12px;
}

.lic-drop-item:hover { background: #f9fafb; }

.lic-drop-item.active {
    color: #1d5bc9;
    font-weight: 500;
}

.lic-drop-item.active::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1d5bc9;
    flex-shrink: 0;
}

.lic-drop-item.reset-sort {
    color: #1d5bc9;
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lic-drop-item.reset-sort:hover { background: #eff6ff; }

/* Archived toggle */
.lic-archived-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.v2-toggle-track {
    width: 44px;
    height: 24px;
    background: #1d5bc9;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.v2-toggle-track.off {
    background: #d1d5db;
}

.v2-toggle-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 3px;
    transition: right .2s, left .2s;
}

.v2-toggle-track.off .v2-toggle-thumb {
    right: auto;
    left: 3px;
}

/* Count label */
.licenses-count {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 14px;
}

/* Section wrapper */
.v2-licenses-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

/* Section header */
.v2-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.v2-section-active  { background: #2563eb; }
.v2-section-inactive { background: #374151; }

.v2-section-chevron {
    transition: transform .2s;
    flex-shrink: 0;
}

.v2-section-header.collapsed .v2-section-chevron {
    transform: rotate(-90deg);
}

/* Override row grid for new column layout */
.v2-section-body .row-main {
    grid-template-columns: 32px 2.5fr 1.3fr 1.3fr 1fr 1.5fr !important;
}

/* Row columns */
.lic-name-col {
    font-size: 13px;
    color: #111827;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lic-name-col strong {
    font-size: 13px;
}

.lic-product-label {
    color: #6b7280;
    font-weight: normal;
}

.lic-type-col {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #374151;
}

.lic-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.lic-dot-green { background: #22c55e; }
.lic-dot-gray  { background: #9ca3af; }

.lic-date-col {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
}

.lic-badge-col { font-size: 12px; }

.lic-status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    background: #f3f4f6;
    color: #6b7280;
}

.lic-status-badge.terminated {
    display: inline-block;
    background: #fde8e8;
    color: #dc2626;
}

.lic-status-badge.to-be-renewed {
    display: inline-block;
    background: #fef9c3;
    color: #d97706;
}

.lic-status-badge.active {
    background: #dcfce7;
    color: #16a34a;
}

.lic-status-badge.active-maintenance {
    background: #dbeafe;
    color: #1d4ed8;
}

.lic-status-badge.no-maintenance {
    background: #f3f4f6;
    color: #6b7280;
}

.lic-number-col {
    font-size: 11px;
    color: #9ca3af;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lic-number-col p,
.lic-number-col a,
.lic-number-col strong {
    font-size: 11px !important;
    color: #9ca3af !important;
    text-decoration: none;
    font-weight: normal !important;
}

/* Hide the old container/table-header when inside v2 sections */
.v2-section-body .container { border: none; box-shadow: none; }
.v2-section-body .table-header { display: none; }

/* ── LOGIN PROMPT ─────────────────────────────────────── */
.login-prompt-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 40px 20px;
}

.login-prompt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 52px 60px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.login-prompt-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ECF1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d5bc9;
    font-size: 28px;
}

.login-prompt-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.login-prompt-sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.login-prompt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 28px;
    background: #1d5bc9;
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.login-prompt-btn:hover {
    background: #1a50b5;
}

/* ── SECTION TITLE ROW ──────────────────────────────────── */
.lic-section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lic-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.lic-section-count {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

/* ── TABLE HEADER BAR ───────────────────────────────────── */
.v2-table-header {
    display: grid;
    grid-template-columns: 32px 2.5fr 1.3fr 1.3fr 1fr 1.5fr;
    align-items: center;
    background: #3e67c8;
    padding: 10px 16px;
    gap: 4px;
}

.v2-table-header-inactive {
    background: #374151;
}

.v2-th {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    user-select: none;
}

.v2-th-sort {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.v2-th-sort:hover { color: #bfdbfe; }

/* Side-by-side ↑↓ sort arrows */
.v2-sort-arrows {
    display: inline-flex;
    flex-direction: row;
    gap: 1px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.45;
    margin-left: 2px;
}

.v2-arr { display: inline; }

.v2-th-sort:hover .v2-sort-arrows { opacity: 0.8; }

.v2-th-sort.sort-asc .v2-sort-arrows,
.v2-th-sort.sort-desc .v2-sort-arrows { opacity: 1; }

.v2-th-sort.sort-asc  .v2-arr-down { opacity: 0.25; }
.v2-th-sort.sort-desc .v2-arr-up   { opacity: 0.25; }

/* Blue name when row is expanded */
.row.open .lic-name-col strong {
    color: #2563eb;
}

/* ── EMPTY STATE ────────────────────────────────────────── */
.lic-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 20px;
    gap: 14px;
    background: var(--blue-light, #edf2fb);
}

.lic-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d0dcf0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lic-empty-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* ── LICENSE DETAILS PANEL REDESIGN ────────────────────── */
.ld-wrap {
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    font-family: "Inter", sans-serif;
    border: 1px solid #e5e7eb;
}

.ld-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.ld-panel-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ld-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.ld-panel-heading {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    padding: 0 2px 8px 2px;
}

.ld-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #e5e7eb;
}

.ld-panel .ld-row:last-child {
    border-bottom: none;
}

.ld-label {
    width: 44%;
    flex-shrink: 0;
    background: #f8f8fa;
    color: #6b7280;
    font-size: 12px;
    padding: 9px 14px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.ld-value {
    flex: 1;
    font-size: 13px;
    color: #111827;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.ld-icon-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    color: #9ca3af;
    text-decoration: none;
}

.ld-icon-btn:hover { color: #374151; }
.ld-icon-btn svg { width: 14px; height: 14px; display: block; }

.ld-inactive {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* Footer */
.ld-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ld-manage-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: #1d5bc9;
    color: #fff !important;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}

.ld-access-icon-btn {

    border-radius: 10px;
    border: 1px solid #e5e7eb00;
    background: #fff0;
    cursor: pointer;
    color: #1d5bc9;

}

.ld-access-icon-btn:hover {
    background: #f9fafb;
}

.ld-access-icon-btn svg {
    width: 16px;
    height: 16px;
}

.ld-dots-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-family: "Inter", sans-serif;
    line-height: 1;
    padding: 0;
}

.ld-dots-btn:hover { background: #f9fafb; }

.ld-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
