/*==========================================================================
  GigMan Global Style Elements
  Wordpress Shortcodes: NA
  ========================================================================== */
  :root {
    --gigman-primary: #484848;
    --gig-dark: #222222;
    --gig-text: #333333;
    --gig-border: #cccccc;
    --gig-bg-light: #fafafa;
    --gig-radius: 10px;

    --gigman-box-background: #B1B7C7;
    --gigman-button-face: #484848;
    --gigman-button-hover: #808080;
    --gigman-button-text: #ffffff;
    --gigman-button-radius: 0px;
    --gigman-button: #55616F;
    --gigman-form-error-background: #f8d7da;
    --gigman-form-error-color: #721c24;
    --gigman-form-label-text: #000000;
    --gigman-form-field-background:#ffffff;
    --gigman-form-field-text: #55616F;
    --gigman-hoverbutton: linear-gradient(to right, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    --gigman-radius: 10px;
}

@import url('https://googleapis.com');

/* Global utility font wrapping wrapper layout */
.gigman-manager-component {
    box-sizing: border-box;
}
.gigman-manager-component *, .gig-manager-component *::before, .gig-manager-component *::after {
    box-sizing: inherit;
}

.gigman-gay-btn { 
    align-self: flex-end; 
    justify-self: flex-end; 
    margin-right: 10px; 
    margin-bottom: 10px; 
    background: var(--gig-primary); 
    color: #fff; 
    border: 0; 
    border-radius: var(--gig-radius); 
    cursor: pointer; 
    background-color: var(--gigman-button); 
    font-family: 'Libre Franklin', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase; 
    text-decoration: none; 
    font-size: 16px; 
    letter-spacing: .5px; 
    transition: background .2s ease; 
    display: inline-block; 
    text-align: center; 
    padding: 8px 8px 8px 8px; 
    transition: background-color .2s ease, transform .1s ease; 
}

.gigman-gay-btn:hover {
    background-image: var(--gigman-hoverbutton); 
    color: #000000;
}
.gigman-gay-btn-full {
    width: 100%;
}

/*==========================================================================
  Common Form Elements

  Element       Class
  ======        =======
  Button        gigman-btn
  form-alert    gigman-form-alert
  form-success  gigman-form-success
  form-error    gigman-form-error
  ========================================================================== */

  .gigman-btn { 
    align-self: flex-end; 
    justify-self: flex-end; 
    margin-right: 10px; 
    margin-bottom: 10px; 
    cursor: pointer; 
    background: var(--gigman-button-face); 
    color: var(--gigman-button-text); 
    border: var(--gigman-button-radius);
    border-radius: var(--gigman-radius); 
    cursor: pointer; 
    background-color: var(--gigman-button-face); 
    border: 2px solid;
    color: #ffffff;
    border-color: #55616F;
    border-radius: 10px;
    font-family: 'Libre Franklin', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase; 
    text-decoration: none; 
    font-size: 16px; 
    letter-spacing: .5px; 
    transition: background .2s ease; 
    display: inline-block; 
    text-align: center; 
    padding: 8px 8px 8px 8px; 
    transition: background-color .2s ease, transform .1s ease; 
}

.gigman-btn:hover {
/*    background: var(--gigman-button-hover);  */
    background: #808080;
    color: #ffffff;
}
.gigman-btn-full {
    width: 100%;
}

/* Shared UI Components: Alert Notifications */
.gigman-form-alert {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: var(--gig-radius);
    font-family: 'Cambay', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}
.gigman-form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    max-width: 650px;
    margin: 30px auto;
}
.gigman-form-error {
    background: var(--gigman-form-error-background);
    color: var(--gigman-form-error-color);
    border: 1px solid #f5c6cb;
    max-width: 650px;
    margin: 30px auto;
}

.gigman-form-label {
    display: block;
    font-weight: 600;
    font-family: "Libre Franklin";
    margin-bottom: 8px;
    color: var(--gigman-form-label-text);
    font-size: 16px;
}

.gigman-radio-label {
    font-weight: 600;
    font-family: "Libre Franklin";
    margin-bottom: 8px;
    color: var(--gigman-form-label-text);
    font-size: 16px;
}

/*==========================================================================
  GigMan Upcoming Gigs Page Style Elements
  Wordpress Shortcodes: [gigman_show_upcoming_gigs] & [gigman_show_gighistory]
  ========================================================================== */

.entry-content .gig-manager-component {
    max-width: 100%;
};

.entry-content .gig-manager-component .gigman-upcoming-gigs-table {
    flex-basis: 100%;
    max-width: 1024px;
    margin: 0 auto;  
    padding: 0 24px;         
    box-sizing: border-box;
    font-family: 'Cambay', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    padding: 20px;
}

.entry-content .gig-manager-component .gigman-upcoming-gigs-row {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 24px;
    background: var(--gigman-box-background);
    border-bottom: 8px solid #ffffff; /* Thick white line to split the rows */
    align-items: start;
    border-radius: 10px;
}

.entry-content .gig-manager-component .gigman-upcoming-gigs-row:last-of-type {
  border-bottom: none;
}

/* Column Width Protection */
.gigman-upcoming-gigs-poster,
.gigman-upcoming-gig-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 4. POSTER CONSTRAINT WITH CROP & ALIGNED STYLING */
.entry-content .gigman-upcoming-gigs-poster img {
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  border: 0px;
  object-fit: contain;    
  object-position: center;
  border-radius: 10px;
}

.entry-content .gigman-upcoming-gigs-poster .nopic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    aspect-ratio: 4 / 3;
    margin: 10px;
    background-color: #cccccc; /* Subtle card distinction from backing layout */
    border: 0px;
    border-radius: 10px;
    object-position: center;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #777777;
}

.entry-content .gigman-upcoming-gig-details {
    padding-top: 10px;
}

.entry-content .gig-title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 5px 0;
    letter-spacing: -0.01em;
}

.entry-content .gig-location {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #484848;
    margin: 0 0 5px 0;
    letter-spacing: -0.01em;
}

.entry-content .gig-date-time {
    font-size: 24px;
    font-weight: 700;
    color: #484848;     
    margin-bottom: 5px;
}

.entry-content .gig-description {
  color: #000000;
  font-family: 'Cambay', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 10px; 
}

@media (min-width: 768px) {
  .entry-content .gig-manager-component .gigman-upcoming-gigs-row {
    grid-template-columns: 1fr 2fr; 
    gap: 40px;                     
  }
}

/*==========================================================================
  GigMan Add New Gig Form Elements
  Wordpress Shortcodes: [gigman_add_new_gig_form]
  ========================================================================== */

.entry-content .gigman-form-container {
    max-width: 650px;
    margin: 30px auto;
    padding: 35px;
    background: var(--gigman-box-background);
    border-radius: var(--gigman-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.entry-content .gigman-form-group {
    margin-right: 30px;
    margin-bottom: 22px;
}

.entry-content .gigman-form-radio {
    display: flex ;
    flex-wrap: wrap ;
    align-items: center ;
    font-weight: 600;
    font-family: "Libre Franklin";
    font-size: 16px;
    margin: 0px;
    color: var(--gigman-form-label-text);
    width: 100% ;
}

.entry-content .gigman-form-row {
    display: flex ;
    gap: 30px ;
    flex-wrap: wrap ;
    width: 100% ;
    margin-bottom: 22px;
}

.entry-content .gigman-form-container .gigman-form-col {
    flex: 1 ;
    min-width: 280px ;
    display: flex ;
    flex-direction: column;
    justify-content: flex-start;
}

.entry-content .gigman-form-container .gigman-form-row .gigman-form-col .gigman-form-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;          
    margin: 0;
    cursor: pointer;
    gap:15px;
}

.entry-content .gigman-form-field-cost:disabled {
    background-color: var(--gigman-form-field-background) !important;
    color: var(--gigman-form-field-background) !important;
    border-color: #333333 !important;      /* Muted borders */
    cursor: not-allowed !important;        /* Changes mouse cursor to a red cancel circle */
    opacity: 0.6 !important;
}

.entry-content .gigman-form-field-cost:not(:disabled) {
    background-color: var(--gigman-form-field-background) !important;
    color: var(--gigman-form-field-text) !important;
    border-color: var(--gig-border) !important;
    cursor: text !important;
    opacity: 1 !important;
}

.entry-content .gigman-form-container .gigman-form-row .gigman-form-col .gigman-form-field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gig-border);
    border-radius: var(--gigman-radius);
    font-size: 15px;
    font-family: "Cambay";
    background-color: var(--gigman-form-field-background);
    color: var(--gigman-form-field-text);
    transition: all 0.2s ease-in-out;
}

.entry-content .gigman-form-radio .gigman-form-label {
    flex: 0 0 100%;    
    margin-bottom: 12px;
    display: block !important;
    color: var(--gigman-form-label-text) !important;
}

.entry-content .gigman-form-radio .gigman-radio-label {
    display: inline-flex;
    align-items: center;
    height:52px;
    margin: 0 0 0 10px;
    cursor: pointer;
    color: var(--gigman-form-label-text);
}

#gigman-cost-input-container .gigman-form-field-cost {
    display: inline-flex;
    width: 100%;
    height: 52px;
    margin: 0 0 0 0px !important; 
    border: 1px solid var(--gig-border);
    border-radius: var(--gig-radius, 0px);
    background-color: var(--gigman-form-field-background) !important;
    color: var(--gigman-form-field-text);
}

.entry-content #gigman-cost-input-container.gigman-secure-login-form-group {
    margin: 0 ;
    padding: 0;
    border: none;
    display: none;
}

.entry-content #gigman-cost-input-container[style*="display: inline-block"],
.entry-content #gigman-cost-input-container[style*="display: block"] {
    display: inline-flex ; 
    align-items: center;
}

.entry-content .gigman-form-field-cost {
    width: 90px;
    padding: 0px 0px;
    height: 52px;
    margin: 0 0 0 15px !important; 
    border: 1px solid var(--gig-border);
    border-radius: var(--gig-radius, 0px);
    background-color: var(--gigman-form-field-background) !important;
    color: var(--gigman-form-field-text);
}

.entry-content .gigman-form-container .gigman-form-group .gigman-form-field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gig-border);
    border-radius: var(--gigman-radius);
    font-size: 15px;
    font-family: "Cambay";
    background-color: var(--gigman-form-field-background);
    color: var(--gigman-form-field-text);
    transition: all 0.2s ease-in-out;
}

.entry-content .gigman-form-container .gigman-form-group .gigman-form-fileupload {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gig-border);
    border-radius: var(--gigman-radius);
    font-size: 15px;
    font-family: "Cambay";
    transition: all 0.2s ease-in-out;
}

.entry-content .gigman-form-container input:focus,
.entry-content .gigman-form-container textarea:focus {
    border-color: var(--gigman-primary);
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.entry-content .gigman-form-container .gigman-file-upload-wrapper {
    width: 100%;
    background: #f3f3f3;
    border: 2px dashed #dddddd;
    padding: 15px;
    border-radius: var(--gig-radius);
}

.entry-content .gigman-form-help-text {
    display: block;
    color: #666666; 
    margin-top: 6px;
    font-size: 12px;
}

/*==========================================================================
  GigMan Secure Gateway Login Form
  Wordpress Shortcodes: [??????]
  ========================================================================== */
.entry-content .gigman-form-container-login {
    max-width: 650px ;
    margin: 30px auto ;
    padding: 35px ;
    border-radius: var(--gigman-radius) ;
}

.entry-content .gigman-form-container-login  {
    max-width: 480px ;
    margin: 3rem auto ;
    padding: 2.5rem ;
    background: var(--gigman-box-background) ;
    border-radius: var(--gigman-radius) ;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15) ;
    font-family: inherit !;
    box-sizing: border-box !;
}

.entry-content .gigman-form-container-login .gigman-secure-login-form {
    max-width: 480px ;
    margin: 3rem auto ;
    padding: 2.5rem !;
    background: var(--gigman-box-background) ;
    height: auto !important;
    border-radius: var(--gigman-radius) ;
    font-family: inherit !;
    box-sizing: border-box !;
}

.entry-content .gigman-form-container-login h3 {
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
}

.entry-content .gigman-secure-login-form-group {
    margin-right: 30px ;
    margin-bottom: 22px ;
    display: block ;
}

.entry-content .gigman-secure-login-form label.gigman-form-label {
    display: block ;
    margin-bottom: 0.6rem ;
    font-size: 0.9rem ;
    font-weight: 700 ;
    color: var(--gigman-form-label-text); 
    text-transform: uppercase;
    letter-spacing: 0.08em ;
}

.entry-content .gigman-form-container-login .gigman-secure-login-form input.gigman-form-field {
    width: 100% ;
    padding: 12px 14px ;
    height: auto !important; /* Overrides forced height values from parent theme layout */
    border: 1px solid var(--gig-border) ;
    border-radius: var(--gig-radius) ;
    font-size: 15px ;
    font-family: "Cambay", sans-serif ;
    background-color: var(--gigman-form-field-background) ;
    color: var(--gigman-form-field-text) ;
    transition: all 0.2s ease-in-out ;
    box-sizing: border-box ;
}

.entry-content .gigman-form-container-login .gigman-secure-login-form input.gigman-form-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

/* =======================================================
 *
 * NEW GATEWAY FORM 
 *
 =========================================================*/

.entry-content .gigman-dashboard-gateway {
    max-width: 1024px;
    margin: 3rem auto;
    box-sizing: border-box;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-success {
    max-width: 100% !important;
    margin: 30px auto !important;
    padding: 35px !important;
    border-radius: var(--gigman-radius, 0px) !important;
    line-height: 1.6;
    box-sizing: border-box;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-error {
    color: #ff4a4a !important;
    background-color: #2a1111 !important;
    border: 2px solid #ff4a4a !important;
    padding: 20px;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-loggedin {
    color: #22c55e !important;
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-menu-container {
    display: flex !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    flex-wrap: wrap !important;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-menu-container .gigman-gateway-menu-options {
    flex: 1;
    min-width: 280px;
    background: var(--gigman-box-background, #111111);
    border-radius: var(--gigman-radius, 0px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15); 
    padding: 2rem;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-menu-container .gigman-gateway-menu-options h3 {
    font-family: 'Libre Franklin', sans-serif !important;
    color: var(--gigman-form-label-text, #ffffff) !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
}

.entry-content .gigman-dashboard-gateway .gigman-gateway-menu-container .gigman-gateway-menu-options p {
    color: var(--gigman-form-label-text, #888888) !important;
    font-size: 15px !important;
    font-family: "Cambay", sans-serif !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
}

/* ==========================================================================
   PART 3: MANAGEMENT ARCHIVE LIST TABLE
   ========================================================================== */

.gigman-dashboard-archive {
    max-width: 960px;
    margin: 2rem auto;
    padding: 2rem;
    background: #111111;
    border: 2px solid #222222;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.gigman-dashboard-archive h2 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0;
}

.gigman-user-welcome {
    font-size: 0.85rem;
    color: #888888;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.gigman-edit-table {
    display: flex;
    flex-direction: column;
    border: 2px solid #333333;
    background: #000000;
}

.gigman-edit-header, 
.gigman-edit-row {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    align-items: center;
    border-bottom: 1px solid #222222;
}

.gigman-edit-header {
    background: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    border-bottom: 2px solid #444444;
}

.gigman-edit-row:last-child {
    border-bottom: none;
}

.col-title  { flex: 2; min-width: 200px; }
.col-date   { flex: 1.5; min-width: 150px; }
.col-status { flex: 1; min-width: 100px; }
.col-action { flex: 1; min-width: 120px; text-align: right; }

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #333333;
    border-radius: 0px;
}
.status-publish { background: #112a14; color: #22c55e; border: 1px solid #22c55e; }
.status-pending { background: #2a2311; color: #eab308; border: 1px solid #eab308; }
.status-draft   { background: #222222; color: #a1a1aa; border: 1px solid #a1a1aa; }
.status-private { background: #2a1111; color: #ef4444; border: 1px solid #ef4444; }

.gigman-edit-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    border-radius: 0px;
    transition: all 0.15s ease-in-out;
}

.gigman-edit-btn:hover {
    background: #000000;
    color: #ffffff;
}

.gigman-no-records {
    color: #888888;
    font-style: italic;
    padding: 1rem 0;
}



/* ==========================================================================
   PART 5: RESPONSIVE MEDIA QUERIES
   ========================================================================== */


/* ==========================================================================
   RESPONSIVE ADAPTIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 550px) {
    .gigman-form-row {
        flex-direction: column;
        gap: 0;
    }
    .gigman-form-container {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .gigman-gateway-menu-container { gap: 1.25rem; }
    .gigman-secure-login-form { padding: 1.5rem; }
    .gigman-gateway-menu-container { gap: 1.25rem; }
    .gigman-menu-options { padding: 1.5rem; }
    
    /* Collapse archive table grid down to card lists on mobile view */
    .gigman-edit-header { display: none; }
    .gigman-edit-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .col-action { text-align: left; margin-top: 0.5rem; width: 100%; }
    .gigman-edit-btn { width: 100%; text-align: center; }
}


@media (max-width: 600px) {
    .gigman-edit-header { display: none; }
    .gigman-edit-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .col-action { text-align: left; margin-top: 0.5rem; }
}


   @media (max-width: 768px) {
    .gigman-upcoming-gigs-table {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}


