@tailwind base;
@tailwind components;
@tailwind utilities;

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
::before,
::after {
  --tw-content: '';
}
 
html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
     tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.top-0 {
  top: 0px;
}
.top-20 {
  top: 5rem;
}
.z-50 {
  z-index: 50;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.-mt-2 {
  margin-top: -0.5rem;
}
.-mt-28 {
  margin-top: -7rem;
}
.-mt-36 {
  margin-top: -9rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-14 {
  margin-top: 3.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-20 {
  margin-top: 5rem;
}
.mt-28 {
  margin-top: 7rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-36 {
  height: 9rem;
}
.h-48 {
  height: 12rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-\[28rem\] {
  height: 28rem;
}
.h-\[29rem\] {
  height: 29rem;
}
.h-\[32rem\] {
  height: 32rem;
}
.h-full {
  height: 100%;
}
.w-1\/2 {
  width: 50%;
}
.w-7 {
  width: 1.75rem;
}
.w-96 {
  width: 24rem;
}
.w-\[35px\] {
  width: 35px;
}
.w-\[442px\] {
  width: 442px;
}
.w-full {
  width: 100%;
}
.max-w-\[21rem\] {
  max-width: 21rem;
}
.max-w-\[36rem\] {
  max-width: 36rem;
}
.max-w-\[41rem\] {
  max-width: 41rem;
}
.max-w-\[45rem\] {
  max-width: 45rem;
}
.max-w-\[48rem\] {
  max-width: 48rem;
}
.max-w-\[52rem\] {
  max-width: 52rem;
}
.max-w-\[53rem\] {
  max-width: 53rem;
}
.max-w-\[54rem\] {
  max-width: 54rem;
}
.max-w-\[61rem\] {
  max-width: 61rem;
}
.max-w-\[64rem\] {
  max-width: 64rem;
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-4 {
  gap: 1rem;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.border-2 {
  border-width: 2px;
}
.border-b-0 {
  border-bottom-width: 0px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-t-8 {
  border-top-width: 8px;
}
.border-\[\#7734e7\] {
  --tw-border-opacity: 1;
  border-color: rgb(119 52 231 / var(--tw-border-opacity, 1));
}
.border-\[\#9734e7\] {
  --tw-border-opacity: 1;
  border-color: rgb(151 52 231 / var(--tw-border-opacity, 1));
}
.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.bg-\[\#222222\] {
  --tw-bg-opacity: 1;
  background-color: rgb(34 34 34 / var(--tw-bg-opacity, 1));
}
.bg-\[\#222222\]\/\[\.06\] {
  background-color: rgb(34 34 34 / .06);
}
.bg-\[\#283653\] {
  --tw-bg-opacity: 1;
  background-color: rgb(40 54 83 / var(--tw-bg-opacity, 1));
}
.bg-\[\#333333\] {
  --tw-bg-opacity: 1;
  background-color: rgb(51 51 51 / var(--tw-bg-opacity, 1));
}
.bg-\[\#34508c\] {
  --tw-bg-opacity: 1;
  background-color: rgb(52 80 140 / var(--tw-bg-opacity, 1));
}
.bg-\[\#555555\] {
  --tw-bg-opacity: 1;
  background-color: rgb(85 85 85 / var(--tw-bg-opacity, 1));
}
.bg-\[\#7734e7\] {
  --tw-bg-opacity: 1;
  background-color: rgb(119 52 231 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-red-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(153 27 27 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-20 {
  padding-left: 5rem;
  padding-right: 5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.pb-10 {
  padding-bottom: 2.5rem;
}
.pb-12 {
  padding-bottom: 3rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-6 {
  padding-left: 1.5rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.text-stone-400 {
  --tw-text-opacity: 1;
  color: rgb(168 162 158 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-1000 {
  transition-duration: 1000ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix tinymce output css
vvvvvv */
ul {
  list-style: disc;  
  margin-left: 1.5rem;
}
li pre {
  display: inline;  
}
 
code {
  font-family: "Courier New", Courier, monospace;
  color: hsl(107, 100%, 50%);
  display: block;
  padding: 1rem;
  margin: 1rem 0;
  background: hsl(0, 0%, 0%);      /* Light background for code */
  overflow-x: auto;         /* Horizontal scroll if needed */
  white-space: pre-wrap; 
}
/* ^^^^^
Fix tinymce output css */

:root {
  /* Catppuccin mocha colorscheme */
  /* Main colors */
  --background: #eff1f5;
  --text: #4c4f69;
  --subtext0: #6c6f85;
  --subtext1: #5c5f77;
  --surface0: #ccd0da;
  --surface1: #bcc0cc;
  --shadow0: inset 5px 5px 10px #cbcdd0, inset -5px -5px 10px #ffffff;
  --shadow00: inset 10px 10px 10px #cbcdd0, inset -10px -10px 10px #ffffff;
  --shadow1: inset -5px -5px 10px #cbcdd0, inset 3px 3px 10px #ffffff;
  --shadow1-sm: inset -5px -5px 5px #cbcdd0, inset -2px -2px 5px #e3e3e3;
  --yellow: #f5df1b;
  --blue: #1e66f5;
  --sky: #04a5e5;
  --sapphire: #209fb5;
  --lavender: #7287fd;
  color: var(--text);
}
body.dark {

  --background: #1e1e2e;
  --mantle: #181825;
  --text: #cdd6f4;
  --subtext0: #a6adc8;
  --subtext1: #bac2de;
  --surface0: #313244;
  --surface1: #45475a;
  /* Shadows */
  --shadow0: inset 5px 5px 10px var(--mantle),
    inset -5px -5px 10px var(--surface0);
  --shadow00: inset 10px 10px 10px var(--mantle),
    inset -10px -10px 10px var(--surface0);
  --shadow1: inset -5px -5px 10px var(--mantle),
    inset 3px 3px 10px var(--surface0);
  --shadow1-sm: inset -5px -5px 5px var(--mantle),
    inset -2px -2px 5px var(--surface0);
  /* Extra colors */
  --yellow: #f9e2af;
  --blue: #89b4fa;
  --sky: #89dceb;
  --sapphire: #74c7ec;
  --lavender: #b4befe;
  color: var(--text);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
}
 
body {
  background-color: var(--background);
}
.layout{
  width: 72rem;
}
.indexLayout {
  display: grid;
 
  grid-template-columns: 1.2fr 2fr;
  margin-top: 3.7rem;
}
.indexLayout > * {
  background: red;
}
.indexLayout > section {
  display: flex;
  padding: 0.2rem;
  background-color: var(--background);
}
.topbar {
  
  display: flex;
  flex-direction: row;
  position: fixed;
  top: 0;
   width: 100%;
  background-color: var(--background);
  z-index: 1000;
}
.notFound {
  margin-top: 1rem;
  font-weight: bold;
  font-size: large;
  text-align: center;
}
.pill {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.25rem;
  box-shadow: var(--shadow0);
}
.pill > button,
.pill > a,
.topbarButton {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem;
  vertical-align: middle;
  transition-duration: 200ms;
}
 
.pill > button:hover,
.pill > a:hover {
  transition-duration: 200ms;
  box-shadow: var(--shadow0);
}

.info {
  display: flex;
  height: 35rem;
  flex-direction: column;
  gap: 1em;
  color: var(--subtext0);
}
.info > * {
  height: -webkit-fill-available;
}
.profile {
  border-radius: 0.8rem;
 
  box-shadow: var(--shadow0);
}
.avatar {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.avatar > img {
  margin: auto;
  margin-top: 5;
  width: 7.5rem;
  height: 7.5rem;
  display: inline-block;
  border-radius: 100;
}

.details {
  text-align: left;
}
.details > h1 {
  display: inline;
  font-size: 15;
  font-weight: bold;
  line-height: 2rem;
  color: var(--text);
}
.details > p {
  font-size: 13;
  color: var(--subtext0);
}
 
.contacts {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
 gap: 1rem;
}
.contactIcon{
  height: 2rem;
  font-size: 24;
  display: inline-flex;
  align-items: center;
}
.pdfIcon{  
  font-size: 19;
}
.info-row {
  display: flex;
  font-size: 14;
  gap: 20px; 
}
.contacts > a:hover {
  color:red
}
.about {
  border-radius: 0.8rem;
  padding: 0 0.4rem 0.4rem 0.4rem;
  box-shadow: var(--shadow0);

}
.about > h2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.aboutDetail {
  text-wrap: pretty;
  font-size: 0.875rem;
  line-height: 1.25rem;
  height: 9rem;
  overflow-y: scroll;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--surface0);
  scrollbar-width: thin;  
  scrollbar-color: rgb(150, 150, 150) transparent;  
}

.skills {
 
  display: flex;
  flex-direction: column;
  border-radius: 0.8rem;
  padding: 0 0.4rem 0.4rem 0.4rem;
  background: var(--background);
  box-shadow: var(--shadow0);
}
.skills > h2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}
 
.skillsIcons {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
.skillIcon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.5rem;
  background-color: var(--background);
}
.group:hover .skillTooltip {
  display: block;
}
.skillTooltip {
  position: absolute;
  top: -2rem;
  margin-bottom: 1rem;
  display: none;
  border-radius: 0.375rem;
  --tw-bg-opacity: 1;
  padding: 0.25rem;
  text-align: center;
  background-color: var(--surface0);
}
.tabSection {
  display: flex;
  flex-direction: column;
  margin-left : 1rem;
 

}
.editPage {
  display: flex;
  flex-direction: column;
  margin-top: 3.5rem;
}
 
.tabSectionSelector {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  box-shadow: var(--shadow0);
}
.tabSectionSelector > button {
  width: 50%;
  border-radius: 9999px;
  padding: 0.5rem;
  --btn-shadow: none;
  box-shadow: var(--btn-shadow);
  transition-duration: 0.2s;
}
.tabSectionSelector > button:hover {
  background-color: var(--surface0);
}
.tabSectionSelector > button.active {
 border-width: 1;
  border-color: var(--surface1);
}
    
.tabsTitle {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
 
}

.tabContainer {
  margin-top: 15;
  position: relative;
  height: 33.5rem;
  border-radius: 0.8rem;
  padding: 1rem;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  overflow-y: scroll;
}

.tabContainer > p {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.activePage {
  display: inline; 
}
.tabRowBadget {
  display: flex;
  flex-direction: row;
  justify-content: center; 
  align-items: center;
  gap: 0.5rem;
}
.editTabRowBadget {
  display: flex;
  flex-direction: row;
  justify-content: center; 
  align-items: center;
  gap: 0.5rem;
}
.badget {
  background-color: hwb(0 0% 15%);
  border-radius: 50%; 
  font-size: small;
  font-weight: bold;
  width: 20;
 height: 20;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  text-align: center;
}
.rowItem {
  display: flex;
  flex-direction: row;
  align-items: center;
  
}
.experienceRowFirstItem {
  display: flex;
  flex-direction: row;
}
.educationRowFirstItem {
  display: flex;
  flex-direction: row;
}
.educationRowFirstItem > img {
  width: 6.5rem;
  height:6.5rem;
  object-fit: scale-down;
  border-radius: 0.375rem;
}
.rowItem {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.educationLogo {
  width: 7rem;
  height:7rem;
  object-fit: scale-down;
  border-radius: 0.375rem;
}
.experienceRow {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-bottom: 5;
}
.experienceRowFirstItem > img {
  width: 5.2rem;
  height:5.2rem;
  
  object-fit: scale-down;
  border-radius: 0.375rem;
}
.experienceRowFirstItemText {
  margin-left: 0.5rem; 
}
.experienceRowFirstItemText > h3 {
  font-size: 14px;
}
.experienceh3{
  font-size: 14px;
}
.experienceRowFirstItemText > p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--subtext0);
}
.projectIcons {
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
  display: flex;
  flex-direction: row;
  gap: 0.375rem;
}
.projectIcon {
  border-radius: 0.75rem;
  padding: 0.125rem;
  box-shadow: var(--shadow0);
}

.transition-all {
  transition-property: all;
}
.duration-200 {
  transition-duration: 200ms;
}
.cursor-move {
  cursor: move;
}
 
.icon {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}
.hover\:mb-1:hover {
  margin-bottom: 0.25rem;
}
.hover\:h-8:hover {
  height: 2rem;
}
.hover\:w-8:hover {
  width: 2rem;
}
.hover\:w-\[38px\]:hover {
  width: 38px;
}
.hover\:border-b-2:hover {
  border-bottom-width: 2px;
}
.hover\:bg-\[\#666666\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(102 102 102 / var(--tw-bg-opacity, 1));
}
.hover\:bg-\[\#8448e9\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(132 72 233 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.focus\:pl-7:focus {
  padding-left: 1.75rem;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.editContainer {
  background: var(--background);
  width: 100%;
}
 
.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  font-weight: 500;
  color: var(--text);
}
input, select, textarea {
  height: 2.7rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--mantle);
}
 select {
  -webkit-appearance: none;
 }
textarea {
  min-height: 100px;
  resize: vertical;
}
.formGroup {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  gap: 0.25rem;
}

.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
.avatar-preview {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.formButton {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 0.5rem;
}
.bottomForm {
  position: fixed; 
  bottom: 0;
  background-color: var(--background);
  height: 3.5rem;
  width: 100%;
  z-index: 1000; 
  display: flex;
  gap: 3rem;
  padding: 0.5rem;
}
.updateButton, .cancelButton {
  padding: 0.5rem ;
  width: 100px;
  border-radius: 99;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}
.updateButton {
  background:  #0057c0; 
  color: white;
  position: relative;
  min-width: 100px;
}
.updateButton:hover {
  background: hsl(213, 100%, 67%);  
}
.updateButton:disabled {
  animation: pulse 1.5s infinite;
}
.cancelButton:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.cancelButton {
  background: #c50b0b;
  color: white;
}
.cancelButton:hover {
  background: hsl(0, 100%, 71%); 
}
button:hover {
  opacity: 0.9;
}
.editContainer h1 {
  font-size: 1.5rem; 
  font-weight: 700;  
  color: var(--text); 
  text-align: center; 
}

.editContainer h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary); 
  border-radius: 2px;
}
.skills-section {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 8px;
}
.skills-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.skillList {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  overflow-y: scroll; 
  height: 5.5rem;
  scrollbar-width: thin; 
  scrollbar-color: rgb(150, 150, 150) transparent;
}
.languageList {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  overflow-y: scroll; 
  height: 2.7rem;
  scrollbar-width: thin; 
  scrollbar-color: rgb(150, 150, 150) transparent; 
}
 
.skillChip {
  display: flex;
  align-items: center;
  padding: 0.3rem;
  background-color: var(--surface0);
  border-radius: 8px;
  font-size: small;
  height: 2.5rem;
  gap: 0.4rem;
}
 
.skillName {
  font-weight: 500;
}
.levelBadge {
  padding: 0.25rem;
 
  border-radius: 20px;
  font-size: small;
}
.level-1 {
  background: hwb(59 1% 34%);
  color: white;
}
.level-2 {
  background: hwb(33 5% 20%);
  color: white;
}
.level-3 {
  background: rgb(10, 143, 191);
  color: white;
}

.level-4 {
  background: #0abf28;
  color: white;
}
.editTabIcon{
  font-size: 2rem;
}
.deleteButton {
  color: rgb(198, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
 font-size: 14;
 margin-top: 1;
}
.deleteButton:hover {

  color: rgb(255, 255, 255);
}
.editButton {
  color: #0070c6;
  display: flex;
  align-items: center;
  justify-content: center;
 font-size: 16;
}
.editButton:hover {
  color: rgb(255, 255, 255);
}
.toastFail {
 font-weight: bold;
 font-size: 16;
  color: red;
}
.toastInfo {
  font-weight: bold;
  font-size: 16;
   color: hwb(135 4% 3%);
 }
.toastSuccess {
  font-weight: bold;
  font-size: 16;
   color: #0088ff;
 }
.addButton {
  align-self: flex-end;
  padding: 0.5rem  ;
  font-weight: bold;
  background: hwb(125 3% 42%);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.addButton:hover {
  background: var(--sapphire);
}
 
.homeLoading{
  margin-top: 6.5rem;
}
.experienceContainer {
  display: flex;
  flex-direction: column;
  height: 14rem;
  margin: auto;
  padding: 0.5rem;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: var(--surface0);
}
 
.educationContainer {
  display: flex;
  flex-direction: column;
  height: 7.5rem;
  margin: auto;
  padding: 0.5rem;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: var(--surface0);
 
}

.descriptions {
  font-size: 13;
  color:  var(--subtext1);
  flex-grow: 1; 
  overflow-y: scroll; 
  scrollbar-width: thin;
  scrollbar-color: rgb(150, 150, 150) transparent; 
}

.errorInput{
  font-size: small;
  font-weight: bold;
  color: red;
  margin-bottom: 10;
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}
.imageSlideContainer{
  position: relative; 
  overflow: hidden;
 width:17rem;
}
.imageSlideItem{
width: 100%;
 height: 12rem;
 background-color: var(--background);
 object-fit: scale-down;
 border-radius: 10px;
}

.portfolioRow {
  display: flex;
  flex-direction: row;  
  border-radius: 8px;
  justify-content: space-between;
}

.portfolioContainer {
  gap: 1rem;
  padding: 0.5rem;
  margin: auto;
  background-color: var(--surface0);
  margin-bottom: 20px;
  border-radius: 8px;
}

.portfolioColumn {
  width: 65%;
  margin-right: 5px;

}
.portfolioHeader {
  display: flex; 
  flex-direction: row; 
}
.portfolioHeader > img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: scale-down;
  border-radius: 0.375rem;
}
.portfolioDescriptions {
  font-size: 13;
  height: 10rem;
  margin-top: 10px;
  scrollbar-width: thin; 
  scrollbar-color: rgb(150, 150, 150) transparent; 
  overflow-y: scroll; 
}
.imageSlideButton{
    display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-top: 7;
  margin-bottom: 2;
}
 
.stackRow {
  display: flex;
  flex-direction: row; 
  font-size: 12px; 
  width: 40rem;
  height: 1.7rem;
  color: rgb(237, 98, 237);
  gap: 5px; 
  white-space: nowrap; 
   overflow-x: scroll;
   scrollbar-width: thin; 
   scrollbar-color: rgb(150, 150, 150) transparent; 
}

.inputArrayRow {
  display: flex;
  flex-direction: row;
}
.iconRow {
  gap: 5;
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end; 
  align-items: flex-start;
}

.checkboxRow {
  display: flex;
  flex-direction: row; 
  align-items: center;
  width: 20rem;
}
.aLinkRow{
  display: flex;
  flex-direction: row;
  align-items: center;
   
}

.dropdown{
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 13;
  font-weight: bold;
  padding: 0.25rem;
  border-radius: 5;
  color: var(--background);
  gap: 3;
  background-color: var(--lavender);
}
 

.editContactContainer {
  overflow-y: scroll;
  height: 8rem;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: var(--surface0);
  width:100%; 
}
.editContactRow{
  display: flex;
  flex-direction: row;
  justify-content: space-between;  
}
.experienceH4{
  font-size: 14px;
}
.selectMode{   
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.loading{
  top:0;
  left: 0;
  position: fixed; 
   background-color: var(--background);
   height: 100%;
   width: 100%;
 
 z-index: 9999;
 animation: flash 4s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

.dialogContainer {
  position: relative;
  display: inline-block;
}
.dialogChildren {
  position: fixed; 
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;  
}
.dialog-trigger {
 height: 2rem;
  font-size: 30;

  display: inline-flex;
  align-items: center;
}
.dialog-trigger:hover { 
  color:red
}
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dialog-content {
  background-color: var(--surface0);
  border-radius: 4px;
  padding: 20px;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.dialog-title {
  margin: 0;
  font-size: 1.2rem;
}

.dialog-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.dialog-body {
  margin-bottom: 15px;
}
 
/* portrait css */
@media (orientation: portrait) {
  .indexLayout {
    display: flex;
    flex-direction: column;
    grid-template-rows: 0.2fr 2fr 3fr;
    width: 100%;
  }
  .logo-animate {
    width: 35%;
    
}
.typing-text {
  font-size: 13;
}
.typing-subtext {
  font-size: 11;
}
  .topbar {
    grid-column: span 1 / span 1;
    grid-row: span 1 / span 1;
  }
  .about > p {
    text-wrap: wrap;
  }
  .profile {
    grid-column: span 1 / span 1;
    grid-row: span 2 / span 2;
    
  }
  .dialogChildren {
    top: 50%;
 
    width: 100%;
  }
  .editPage {
  position: relative;
   padding: 1rem;
   margin-top: 1rem;
  }
  
  .tabsTitle {
    font-size:14px;
  }
 .portfolioRow{
  flex-direction: column;  
 }
 .portfolioColumn{
  width: 100%;
 }
  .formRow {
    display: inline;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
  }
  .experienceH4{
    font-size: 13px;
  }
  .experienceContainer{
    gap: 0.25rem;
  }
  .educationContainer{
    height: 6rem;
  }
  .loading{
    top: -50;
  }
  .avatar > img {
    width: 6.5rem;
    height: 6.5rem;
  }
  .topbar {
    left: 0;
  }
  .stackRow {
    width: 87vw;
  }
  .tabContainer {
    height: 100%;
    padding: 0.75rem;
  }
  .tabSection {

  margin-top: 3.5rem;
    margin-left : 0;
  }
  .tabsTitle {
    margin-top: 10px;
  }
 
  .portfolioDescriptions{
    height: 8rem;
  }
   .imageSlideContainer{
    width: 100%;
    margin-top: 5px;
   }
   .imageSlideButton{
    justify-content: center;
    gap: 5rem;
   }
   .experienceRowFirstItem > img {
    width: 4rem;
    height:4rem;
  }
  .iconRow {
    margin-bottom: 0;
    justify-content: flex-start;
}
.experienceRowFirstItemText > h3 {
  font-size:13;
  line-height: 16px;
}
.experienceh3{
  font-size: 13px;
  line-height: 16px;
}
.portfolioHeader > img {
  width: 3rem;
  height: 3rem;
 
}
.educationRowFirstItem > img {
  width: 5rem;
  height:5rem;
}
.tabSectionSelector {
 margin-top: 0.5rem;
 box-shadow: none; 
}
.tabSectionSelector > button {
  padding: 0.3rem;
}
.tabSectionSelector > button:hover {
  background-color: var(--background);
}
.tabSectionSelector > button.active {
  color: yellow;
  font-weight: bold;
  border-width: 0;
   border-color:none;
 }
.layout{
  width: 100%;
}
.editTabRowBadget {
  flex-direction: column;
  gap: 4 ;
}
.homeLoading{
  margin-top: 5rem;
}

}
*::-webkit-scrollbar {
 display: none;
}
@keyframes fade-in-up {
  0% {
      opacity: 0;
      transform: translateY(10px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes progress {
  0% { width: 0; }
  80% { width: 100%; }
  100% { width: 100%; }
}

.animate-fade-in-up {
  animation: fade-in-up 2s ease-out both;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.animate-progress {
  animation: progress 3s ease-in-out infinite;
}
/* Continuous rotation animation */
@keyframes logo-spin {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

/* Apply animation to logo */
.logo-animate {
  margin: 0 auto;
  animation: logo-spin 10s linear infinite;
  transition: opacity 0.3s ease;
  transform-origin: 50% 50%;
}

/* Optional: Add hover effect */
.logo-animate:hover {
  animation-duration: 5s; /* Speed up on hover */
  cursor: pointer;
}
body.hydrating button {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

body.hydrating button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.loadingPill{
  filter: blur(1.5px);
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.25rem;
  box-shadow: var(--shadow0);
}
.loadingContact{
  filter: blur(1.5px);
  pointer-events: none;
  transition: filter 0.3s ease;
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
 gap: 1rem;
}
.loadingTab{
  filter: blur(1px);
  pointer-events: none;
  transition: filter 0.3s ease;
  display: flex;
  flex-direction: row;
  justify-content: center; 
  align-items: center;
  gap: 0.5rem;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #3b82f6 }
}

.typing-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #3b82f6;
  animation: 
      typing 2s steps(60, end),
      blink-caret 0.75s step-end infinite;
}

.typing-subtext {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #64748b;
  animation: 
      typing 2s steps(60, end),
      blink-caret 0.75s step-end infinite;
  }

/* Flash-bang effect */
@keyframes flash {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(1.5); }
}

.animate-flash {
  animation: flash 4s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}
/* lock-dialog.css */
.lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lock-dialog {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.lock-dialog h2 {
  margin-top: 0;
  color: #0057c0;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0057c0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 1.5rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 500px;
  overflow-x: scroll;
  scrollbar-width: thin; 
  scrollbar-color: rgb(150, 150, 150) transparent; 
  border-radius: 1.5rem;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.message {
    display: flex; 
    margin-bottom: 12px; 
    max-width: 80%; 
}

.user-message {
  justify-content: flex-end; 
  margin-left: auto;
}

.agent-message {
  justify-content: flex-start;
  margin-right: auto;
}

.error-message {
  align-self: center;
  color: #ff3e3e;
  font-size: 0.9rem;
  margin: 0.5rem 0;
  padding: 0.5rem;
  background-color: #fff0f0;
  border-radius: 0.5rem;
  border: 1px solid #ffd0d0;
}

.connection-status {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin: 0.5rem 0;
}

.chat-input-container {
  display: flex;
  border-top: 1px solid #eee;
  padding: 0.75rem;
  background-color: #f9f9f9;
  justify-content: center; 
  align-items: center;
}

.chat-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 1.5rem;
  padding: 0.75rem 1rem;
  font-family: inherit;
  resize: none;
  height: 2.5rem;
  margin-right: 0.5rem;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: #007bff;
}

.chat-send-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chat-send-button:hover:not(:disabled) {
  background-color: #0069d9;
}

.chat-send-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.chat-send-button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.typing-indicator {
  display: flex;
  align-items: center;
  column-gap: 4px;
  padding: 12px 16px;
  min-height: 24px;
}

.typing-indicator .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #888;
  opacity: 0.6;
  animation: typingAnimation 1.4s infinite;
}

.typing-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {
  0% { 
      opacity: 0.6; 
      transform: scale(1);
  }
  50% { 
      opacity: 1; 
      transform: scale(1.2);
  }
  100% { 
      opacity: 0.6; 
      transform: scale(1);
  }
}

.processing-message {
  background-color: rgba(240, 240, 240, 0.8);
  border-radius: 10px;
  margin-bottom: 8px;
  max-width: 80%;
  align-self: flex-start;
}

.chat-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(95, 95, 95, 0.2);
  border-top-color: rgba(70, 70, 70, 0.6);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  background: transparent;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.message-inner-container {
  display: flex;
  flex-direction: column;
}

.message-timestamp {
  font-size: 0.65rem; 
  color: #9ca3af;
  margin-bottom: 4px; 
  padding: 0 4px; 
}

.user-message .message-timestamp {
  text-align: right; 
}

.agent-message .message-timestamp {
  text-align: left; 
}

.message-content {
  padding: 8px 12px;
  border-radius: 10px;
  word-wrap: break-word; 
  max-width: 100%; 
}

.user-message .message-content {
  background-color: #3b82f6; 
  color: white;
  border-bottom-right-radius: 2px; 
}

.agent-message .message-content {
  background-color: #e5e7eb;
  color: #1f2937; 
  border-bottom-left-radius: 2px; 
}


.processing-message {
  background: none; 
  padding: 0;
  margin-bottom: 12px;
}
  .chat-wrapper{

    margin-top: 3.5rem;

  }

  /* Add to your CSS file */

.suggestions-center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.suggestions-wrapper {
  max-width: 700px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.suggestions-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
}

.suggestions-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .suggestions-groups {
    grid-template-columns: 1fr;
  }
}

.suggestion-group {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  background-color: #f8f8f8;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.suggestion-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.suggestion-group-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #333;
}

.suggestion-group-icon {
  font-size: 1.1rem;
  margin-right: 8px;
  color: #555;
}

.suggestion-group-title {
  font-weight: 500;
  font-size: 0.95rem;
}

.suggestion-group-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suggestion-item {
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
  transition: background-color 0.2s;
}

.suggestion-item:hover {
  background-color: #e0e0e0;
}

/* Dark mode styles */
:root.dark .suggestions-wrapper {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

:root.dark .suggestions-title {
  color: #e0e0e0;
}

:root.dark .suggestion-group {
  border-color: #444;
  background-color: #262626;
}

:root.dark .suggestion-group-header {
  color: #e0e0e0;
}

:root.dark .suggestion-group-icon {
  color: #bbb;
}

:root.dark .suggestion-item {
  border-color: #444;
  background-color: #333;
  color: #e0e0e0;
}

:root.dark .suggestion-item:hover {
  background-color: #444;
}