/**
 * @package    Changelog
 * @subpackage Changelog
 * @since      1.0.0
 * @version    1.0.0
 * @author     Ehsan Zare <darksider.legend@gmail.com>
 * @link       https://code-path.com
 * @copyright  (c) 2021 Code-path web developing team
 */

/*-------------------------------------------------------------------------*/
/* Popup (changelog)
/*-------------------------------------------------------------------------*/
.popup-changelog {}

/* Popup (changelog): Content
/*---------------------------------------------------------------*/
.popup-changelog .popup-content {
	text-align: initial;
}

/* Popup (changelog): Links
/*---------------------------------------------------------------*/
.popup-changelog .popup-links {
	display: none;
}

/*-------------------------------------------------------------------------*/
/* Changelog
/*-------------------------------------------------------------------------*/
.page-changelog {}

/* Changelog: Filters
/*---------------------------------------------------------------*/
.page-changelog .changelog-filters {
	width: 100%;
	height: auto;
}

.page-changelog .changelog-filters .changelog-filter {
	width: 100%;
	height: auto;
}

/* Changelog: Changes
/*---------------------------------------------------------------*/
.page-changelog .changelog-changes {
	width: 100%;
	height: auto;
}

.page-changelog .changelog-changes .changes-table {
	width: 100%;
}

.page-changelog .changelog-changes .changes-table tbody {}

.page-changelog .changelog-changes .changes-table tbody tr {
	border-bottom: solid 1px rgba(0, 0, 0, 0.15);
} .page-changelog .changelog-changes .changes-table tbody tr:last-child      {border: none;}
  .page-changelog .changelog-changes .changes-table tbody tr:nth-child(even) {background-color: rgba(0, 0, 0, 0.05);}

.page-changelog .changelog-changes .changes-table tbody tr td {
	color: #4c5c6e;
	padding: 0.875rem;
	font-size: 0.875rem;
	font-style: italic;
	font-family: var(--font-family-primary);
	text-shadow: -1px 0 1px rgba(0, 0, 0, 0.45);
} .page-changelog .changelog-changes .changes-table tbody tr td.table-col-1 {}
  .page-changelog .changelog-changes .changes-table tbody tr td.table-col-2 {}
  .page-changelog .changelog-changes .changes-table tbody tr td.table-col-3 {}
  .page-changelog .changelog-changes .changes-table tbody tr td.table-col-4 {width: 60%;}

.page-changelog .changelog-changes .changes-table tbody tr td::after {
	width: 1px;
	height: 60%;
	top: 20%;
	right: 0;
	content: '';
	position: absolute;
	background-color: rgba(0, 0, 0, 0.15);
} .page-changelog .changelog-changes .changes-table tbody tr td.table-col-4::after {display: none;}

.page-changelog .changelog-changes .changes-table tbody tr td [delete]    {margin: 0 0.5rem 0 0;}
.page-changelog .changelog-changes .changes-table tbody tr td [rev]       {color: #4c5c6e;}
.page-changelog .changelog-changes .changes-table tbody tr td [author]    {color: #70869f;}
.page-changelog .changelog-changes .changes-table tbody tr td [changelog] {color: #4c5c6e;}

/* Changelog: Responsive
/*---------------------------------------------------------------*/
@media screen and (min-width: 992px) { /* Desktop */
	.page-changelog .changelog-changes .changes-table tbody tr td [changelog] {
		white-space: initial;
	}
}
/* FrostBret Pro changelog owns its own hero */
body.fb-pro-runtime.module-changelog .section-pageheader{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;}

/* Fix full-bleed changelog hero inside constrained FusionCMS content wrappers */
body.fb-pro-runtime.module-changelog .fb-changelog-landing{width:100vw!important;max-width:none!important;box-sizing:border-box!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;}
body.fb-pro-runtime.module-changelog .fb-changelog-landing__intro{width:min(820px, calc(100vw - 48px))!important;max-width:min(820px, calc(100vw - 48px))!important;margin-left:auto!important;margin-right:auto!important;}
body.fb-pro-runtime.module-changelog .fb-changelog-toolbar{width:min(900px, calc(100vw - 48px))!important;max-width:min(900px, calc(100vw - 48px))!important;margin-left:auto!important;margin-right:auto!important;}


/* Changelog polish: FrostBret visual language + selectable badges */
body.fb-pro-runtime.module-changelog .fb-changelog-landing__bg{background:linear-gradient(180deg,rgba(3,7,18,.42),rgba(3,7,18,.96)),radial-gradient(circle at 18% 10%,rgba(96,165,250,.25),transparent 34%),radial-gradient(circle at 82% 0%,rgba(125,211,252,.18),transparent 38%),url('/application/themes/frostbret_pro/assets/images/slides/1.jpg') center/cover no-repeat!important;}
body.fb-pro-runtime.module-changelog .fb-timeline-card{background:linear-gradient(180deg,rgba(9,19,34,.96),rgba(4,10,20,.98))!important;border-color:rgba(125,211,252,.22)!important;box-shadow:0 26px 80px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.035)!important;}
body.fb-pro-runtime.module-changelog .fb-timeline-summary{background:linear-gradient(180deg,rgba(125,211,252,.11),rgba(96,165,250,.045))!important;color:#bfdbfe!important;border:1px solid rgba(125,211,252,.15)!important;box-shadow:none!important;}
body.fb-pro-runtime.module-changelog .fb-timeline-summary strong,body.fb-pro-runtime.module-changelog .fb-change-category h3{color:#7dd3fc!important;}
body.fb-pro-runtime.module-changelog .fb-change-category h3{font-family:Inter,Roboto,system-ui,sans-serif!important;font-weight:950!important;letter-spacing:-.02em!important;border-bottom-color:rgba(125,211,252,.18)!important;}
body.fb-pro-runtime.module-changelog .fb-change-label{background:var(--change-color,#1f8cff)!important;color:#fff!important;min-width:86px;border-radius:999px!important;box-shadow:0 10px 24px rgba(31,140,255,.22), inset 0 1px 0 rgba(255,255,255,.22)!important;}
body.fb-pro-runtime.module-changelog .fb-change-row:nth-child(3n+1) .fb-change-label,body.fb-pro-runtime.module-changelog .fb-change-row:nth-child(4n) .fb-change-label{background:var(--change-color,#1f8cff)!important;}
body.fb-pro-runtime.module-changelog .fb-change-row p{font-family:Inter,Roboto,system-ui!important;color:#eaf6ff!important;}
body.fb-pro-runtime.module-changelog .fb-change-row small{color:#8fb2c8!important;}
body.fb-pro-runtime.module-changelog .popup,body.fb-pro-runtime.module-changelog .modal-content{background:#07111f!important;border:1px solid rgba(125,211,252,.22)!important;border-radius:24px!important;box-shadow:0 28px 90px rgba(0,0,0,.6)!important;}
body.fb-pro-runtime.module-changelog addchange-template select,body.fb-pro-runtime.module-changelog addchange-template input{border-radius:16px!important;border:1px solid rgba(125,211,252,.22)!important;background:#050c18!important;color:#eef7ff!important;min-height:48px!important;padding:0 14px!important;}
.fb-change-modal-grid{display:grid;grid-template-columns:1fr 140px;gap:14px}.fb-change-modal-grid input[type=color]{padding:6px!important;width:100%!important}@media(max-width:560px){.fb-change-modal-grid{grid-template-columns:1fr}}


/* Template-only changelog category badges */
body.fb-pro-runtime.module-changelog .fb-change-label{background:#1f8cff!important;color:#fff!important;}
body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="fix"],body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="fixed"]{background:#22c55e!important;}
body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="add"],body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="new"]{background:#8b5cf6!important;}
body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="update"]{background:#38bdf8!important;}
body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="remove"],body.fb-pro-runtime.module-changelog .fb-change-label[data-change-type*="delete"]{background:#ef4444!important;}


/* Template-only changelog multiline entry support */
body.fb-pro-runtime.module-changelog #change_text{width:100%!important;min-height:140px!important;resize:vertical!important;border-radius:16px!important;border:1px solid rgba(125,211,252,.22)!important;background:#050c18!important;color:#eef7ff!important;padding:14px!important;line-height:1.6!important;}
body.fb-pro-runtime.module-changelog .fb-field-help{display:block;margin-top:8px;color:#8fb2c8;font-size:.82rem;}
body.fb-pro-runtime.module-changelog .fb-change-row p br{display:block;content:"";margin-top:6px;}


/* FrostBret changelog popup polish */
body.fb-pro-runtime.module-changelog #confirm.popup-changelog,
body.fb-pro-runtime.module-changelog #confirm{border:1px solid rgba(125,211,252,.24)!important;border-radius:28px!important;background:linear-gradient(180deg,rgba(8,18,33,.98),rgba(3,9,18,.98))!important;box-shadow:0 32px 120px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.05)!important;color:#eaf6ff!important;}
body.fb-pro-runtime.module-changelog #confirm_question{padding:26px!important;text-align:left!important;}
body.fb-pro-runtime.module-changelog #confirm_question label{color:#bfe8ff!important;font-weight:900!important;letter-spacing:.02em;margin-bottom:8px!important;}
body.fb-pro-runtime.module-changelog #confirm_question select,
body.fb-pro-runtime.module-changelog #confirm_question input,
body.fb-pro-runtime.module-changelog #confirm_question textarea{width:100%!important;border-radius:16px!important;border:1px solid rgba(125,211,252,.24)!important;background:#050c18!important;color:#eef7ff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;}
body.fb-pro-runtime.module-changelog #confirm_question textarea{min-height:150px!important;line-height:1.7!important;}
body.fb-pro-runtime.module-changelog #confirm .popup_links{display:flex!important;gap:12px;justify-content:flex-end;padding:0 26px 26px!important;}
body.fb-pro-runtime.module-changelog #confirm_button,
body.fb-pro-runtime.module-changelog #alert_button,
body.fb-pro-runtime.module-changelog #confirm .btn-blue{border-radius:999px!important;min-height:44px!important;padding:0 22px!important;background:linear-gradient(135deg,#7dd3fc,#60a5fa)!important;color:#06111d!important;border:0!important;font-weight:950!important;}
body.fb-pro-runtime.module-changelog .fb-field-help{display:flex!important;gap:8px;align-items:center;margin-top:10px!important;color:#8fb2c8!important;font-size:.84rem!important;}
body.fb-pro-runtime.module-changelog .fb-field-help:before{content:'↵';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(125,211,252,.12);color:#7dd3fc;font-weight:950;}
