@charset "UTF-8";

* {
    min-height: 0;
    min-width: 0;

    transform-origin: 0px 0px 0px;
}

.modal-container {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other elements */
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-title {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.modal-actions {
    margin-top: 20px;
}


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

.odropdown-button {
  background-color: #d7d7ff;
  color: black;
  font-weight: bold;
  padding: 20px 20px;
  border: 3px groove rgba(255, 255, 255);
  border-radius: 25px;
  cursor: pointer;
  font-size: 25px;
}

.dropdown-contents {
  display: none;
  position: fixed;
  left: 100%;
  top: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown-contents a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-contents a:hover {
  background-color: #f1f1f1;
}

.extra-button {
  background-color: #d7d7ff;
  color: black;
  font-weight: bold;
  padding: 20px 20px;
  border: 3px groove rgba(255, 255, 255);
  border-radius: 25px;
  cursor: pointer;
  font-size: 25px;
}

.odropdown-button:hover .dropdown-contents .extra-button:hover {
  display: block;
}

@page {
  margin: 0; /* Remove the default margins */
}

.butt {
  text-decoration: none;
  background-color: #040c3b;
  color: white;
  padding: 35px 45px;
  margin: 10px 5px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s, box-shadow 0.3s;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(58, 134, 183, 0.6);
}

.butt:hover {
  background-color: #063c72;
  box-shadow: 0 0 10px rgba(58, 134, 183, 1);
}

.butt i {
  margin-left: 10px;
}


/* CSS for edit/delete icons */
.edit-icons {
  display: none; /* Initially hide the icons */
}

.summary:hover,
.experience:hover, .skills:hover {
  background-color: rgba(0, 0, 255, 0.1); /* Transparent blue color */
}

.summary:hover .edit-icons,
.experience:hover .edit-icons, .skills:hover .edit-icons {
  display: inline-block; /* Show the icons when hovering over the sections */
}

    .sticky-footer {
  margin: auto;
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 1.1);
  height: 120px;
}

p:blank, li:blank, div:blank, section:blank {
    display: none;
}

p:empty, li:empty, div:empty, section:empty {
    display: none;
}

p:-moz-only-whitespace, li:-moz-only-whitespace, div:-moz-only-whitespace, section:-moz-only-whitespace {
    display: none;
}

/* Page Variables */

:root {
    --main-width: 74%;
    --header-height: 1.2in;
    --sidebar-width: calc(100% - var(--main-width));
}

body {
    font-size: 0.95em;
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
    text-decoration-skip: ink;
    hyphens: auto;
}

#save > section:first-of-type {
    display: flex;
    flex-direction: row;
}

.summary {
    font-size: 105%;
}

/* Misc */

img {
    max-width: 100%;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

abbr[title] {
    text-decoration: none;
    border: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li + li {
    margin-top: 0.4em;
}

.fa, .fab {
    text-align: center;
    min-width: 1em;
}

li .fa, li .fab {
    margin-right: 0.3em;
}

/* Page layout */

#save > section:first-of-type > aside {
    flex-basis: var(--sidebar-width);
    padding: 0.1618in 0 0.1618in 0.1618in;
    display: flex;
    flex-direction: column;
}

#save > section:first-of-type > aside > section + section {
    margin-top: 2em;
}

#save > section:first-of-type > aside > section:last-child {
    margin-top: auto;
} 

#save > section:first-of-type > section {
    flex-basis: var(--main-width);
    display: flex;
    flex-direction: column;
}

#save > section:first-of-type > section > header {
    flex-basis: var(--header-height);
    flex-grow: 0;
    padding: 0.1618in;
}

#save > section:first-of-type > section > section {
    flex-grow: 1;
    padding: 0.1618in;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

#save > section:first-of-type > section > section > section + section {
    margin-top: 1em;
}

#save > section:first-of-type > section > section > section:last-child {
    margin-top: auto;
}

.references address {
    font-style: normal;
    font-weight: 300;
}

.references address:first-line {
    font-weight: 400;
}

.references address + address,
.references address + p {
    padding-top: 0.5em;
}

/* Skills */

.skills {
    font-size: 92%;
}

.skills > ul:after {
    content: '';
    display: table;
    clear: both;
}

.skills > ul > li {
    display: block;
    float: left;
    margin: 6px 6px 0 0;
}

.skills > ul > li > span {
    background-color: #f5f5f5;
    border: 1px solid rgba(45, 45, 45, 0.1618);
    border-radius: 3px;
    color: #333;
    padding: 4px 8px;
    display: inline-block;
}

/* Experience & Education */

.education ol,
.experience ol {
    margin: 0;
    padding: 0;
}

.experience ol {
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
}

.experience ol > li {
    margin: 0;
    padding: 0;
    flex-basis: 100%;
    font-weight: 300;
}

.education ol > li {
    font-weight: 300;
}

.experience ol > li + li {
    margin-top: 1em;
}

.education ol > li div,
.experience ol > li header {
    display: flex;
    flex-direction: row;
}

.experience ol > li > span,
.education ol > li p,
.experience ol > li header p {
    font-weight: 400;
}

.experience ol > li header p {
    font-size: 110%;
}

.education ol > li div > *:last-child,
.experience ol > li header > *:last-child {
    margin-left: auto;
}

.experience ol > li ul {
    padding-top: 0.5em;
}

.experience ol > li ul li {
    list-style-type: circle;
    margin-left: 1.618em;
}
/* Unified preview action bar style (aligned to template29/30/31 look) */
.sticky-footer {
  margin: auto !important;
  text-align: center !important;
  padding: 18px 15px !important;
  background: #f8f9fa !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18) !important;
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.extra-button,
.butt,
.odropdown-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 22px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif !important;
  line-height: 1 !important;
}

.extra-button {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  box-shadow: none !important;
}

.butt {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.odropdown-button {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  padding-inline: 16px !important;
}

.dropdown-contents {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.dropdown-contents a {
  font-size: 14px !important;
}
