/*
Theme Name: Feast CMS
Theme URI: https://feastcreative.com/
Author: Feast (Donovan Shores)
Author URI: https://feastcreative.com/
Description: This is Feast CMS, it adds customisations to the theme 'Pro'.
Version: 1.1.1
Template: pro
*/


/* Admin Bar Badge */
#wp-admin-bar-feastcms-dev-mode-active > .ab-item {
    background-color: #ff0000 !important;
    color: #ffffff !important;
    font-weight: bold;
}

/* ==========================================================================
   404 Page (Generic Style)
   ========================================================================== */
.fc-404-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
    background: #f5f5f5;
    font-family: "Open Sans", sans-serif;
    text-align: center;
}

.fc-404-content h1 {
    font-size: 72px;
    margin-bottom: 10px;
    color: #111;
}

.fc-404-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.fc-404-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.fc-404-home {
    display: inline-block;
    padding: 10px 20px;
    background: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.fc-404-home:hover {
    background: #000;
}

/* ==========================================================================
   FeastCMS – Welcome Panel Styles (Updated)
   ========================================================================== */

.welcome-panel {
	background: #fff !important;
}

.fc-welcome-panel {
	max-width: 1200px;
	padding: 2em 1em;
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	border-left: 4px solid rgb(254, 67, 50);
	border-top: none;
	border-right: none;
	border-bottom: none;
}

.fc-welcome-panel h2 {
	font-size: 20px;
	margin: 2em 0 1em 0;
	font-weight: 600;
	color: #000;
}

.fc-welcome-logo {
	display: block;
	margin-bottom: 20px;
	max-width: 160px;
	height: auto;
}

.fc-welcome-panel p {
	font-size: 14px;
	color: #444;
	margin-bottom: 20px;
}

.fc-welcome-panel a {
	color: rgb(254, 67, 50);
	text-decoration: underline;
}

.fc-welcome-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 25px;
}

.fc-welcome-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: rgb(254, 67, 50);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 13px;
}

.fc-welcome-links a:hover {
	background: #cc372a;
}

.fc-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.fc-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1em 1.2em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fc-card-icon {
	font-size: 20px;
	color: #fe4332;
	margin-bottom: 8px;
}

.fc-card-icon svg path {
	fill: #fe4332 !important;
}

.fc-card-title {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 8px;
	color: #222;
}

.fc-card-links a {
	display: inline-block;
	margin-right: 12px;
	font-size: 14px;
	color: #fe4332;
	text-decoration: none;
}

.fc-card-links a:hover {
	text-decoration: underline;
}

.fc-welcome-contact {
	margin-top: 2em;
	font-size: 14px;
	color: #555;
	line-height: 1.6;
}

/* ==========================================================================
   FeastCMS – Consistent Link Colors in Admin Menu
   ========================================================================== */

#adminmenu, #adminmenuback, #adminmenuwrap {
	background-color: rgb(254, 67, 50) !important;
}

#adminmenu a {
	background-color: rgb(254, 67, 50) !important;
	color: #ffffff !important;
	font-weight: 500;
}

#adminmenu a:hover,
#adminmenu li.menu-top:hover > a,
#adminmenu .wp-has-current-submenu > a,
#adminmenu .wp-menu-open > a,
#adminmenu .wp-submenu a:hover {
	background-color: #e03b2e !important;
	color: #ffffff !important;
}

#adminmenu .wp-submenu,
#adminmenu .wp-submenu a {
	background-color: #e03b2e !important;
}

#adminmenu .update-plugins {
	background: #111 !important;
	color: #fff !important;
	border-radius: 50% !important;
}

#adminmenu .wp-menu-image:before {
	color: #ffffff !important;
}

#adminmenu .wp-menu-image img {
	filter: brightness(0) invert(1) !important;
	opacity: 1 !important;
}

#adminmenu li.wp-has-submenu:hover:after,
#adminmenu li.wp-has-submenu.focused:after,
#adminmenu li.wp-has-current-submenu:after {
	border-right-color: #fff !important;
}

#collapse-menu {
	background-color: rgb(254, 67, 50) !important;
}

#collapse-menu .dashicons,
#collapse-menu .wp-menu-name,
#collapse-menu .collapse-button-label,
#collapse-button .collapse-button-icon:after {
	color: #ffffff !important;
}

/* ==========================================================================
   FeastCMS – Force Admin Menu Icons to White
   ========================================================================== */

#adminmenu .wp-menu-image:before {
	color: #ffffff !important;
}

#adminmenu .wp-menu-image img {
	filter: brightness(0) invert(1) !important;
	opacity: 1 !important;
	background: none !important;
}

#adminmenu .wp-menu-image.svg {
	filter: brightness(0) invert(1) !important;
	background-color: transparent !important;
	background-blend-mode: lighten;
	opacity: 1 !important;
}

#adminmenu .wp-menu-image *,
#adminmenu .wp-menu-image *::before,
#adminmenu .wp-menu-image *::after {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: none !important;
}

#adminmenu li.wp-has-submenu::after,
#adminmenu li.wp-has-current-submenu::after,
#adminmenu li.wp-has-submenu:hover::after {
	border-right-color: #ffffff !important;
}

#toplevel_page_feastcms-settings .wp-menu-image img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-top:-2px;
}

/* ==========================================================================
   FeastCMS – Custom Login Screen Styling
   ========================================================================== */

#login h1 {
    text-align: center;
}

#login h1 a {
    background-image: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/img/feast.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 84px;
}

body.login {
    background: #f5f5f5;
	align-content: center;
	padding: 20px 0;
}

body.login #login {
	width: 80vw;
	max-width: 500px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border-top: 5px solid #fe4332;
}

.login label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.login .input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login .input:focus {
    border-color: #fe4332;
    box-shadow: 0 0 2px #fe4332;
}

.login #wp-submit {
    background-color: #fe4332;
    border: none;
    border-radius: 5px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login #wp-submit:hover {
    background-color: #cc372a;
}

.login .button.wp-hide-pw {
    background: transparent !important;
    border: none;
    box-shadow: none;
    padding: 0;
}

.login .button.wp-hide-pw .dashicons {
    color: #fe4332 !important;
    font-size: 20px;
    opacity: 0.8;
}

.login #nav a,
.login #backtoblog a {
    color: #777 !important;
    font-size: 14px;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #fe4332 !important;
}

.login .language-switcher {
	display: none;
}

.login .language-switcher select {
    border-radius: 4px;
    border: 1px solid #fe4332;
}

.login .language-switcher .button {
    background-color: transparent;
    color: #fe4332;
    border-color: #fe4332;
    transition: all 0.2s ease;
}

.login .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px!important;
}

.login .forgetmenot input[type="checkbox"] {
    margin: 0;
}

.login .forgetmenot label {
	margin: 0;
}

.menu_pto,
#cpt_info_box {
	display: none;
}
