/* 1. Register your custom font */
@font-face {
    font-family: 'CircularStd';
    src: url('../fonts/CircularStd-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
  /* --main-color: #302c1e; Change this once, and it updates everywhere */
  /* --main-color: #0d1b4f */
  --main-color: black;
  --login-container-width: 25%;
  --input-field-container-width: 50%
}

/* This conditionally changes certain sizes to accommodate phone screens*/
@media (max-width: 768px) {
  :root{
    --login-container-width: 100%;
    --input-field-container-width: 100%
  }
  
}


.tracker-div {
    width: var(--input-field-container-width);
}

.login-div {
    width: var(--login-container-width);
}


/* 2. Apply the global styles */
body {
    background-color: var(--main-color); /* Soft Pink / Pastel Pink */
    color: white;             /* All text becomes white */
    font-family: 'CircularStd', sans-serif; /* Use your font, fall back to sans-serif */
    margin: 0;
    padding: 0;
}

.content-wrapper {
    padding: 15px;     
    margin-left: auto;
    margin-right: auto;
  
    
}

/* Ensure links are also white so they don't turn blue/purple */
a {
    color: white;
    text-decoration: none;
}

#tracker-section label {
    display: block;        /* Takes up the whole line */
    font-size: 0.9rem;
    font-weight: bold;
    text-align: left;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    
    /* 1. Set to same soft pink as the body */
    background-color: var(--main-color); 
    
    /* 2. Add the thin white separator line */
    border-bottom: 1px solid white; 
    
    /* 3. Keep it at the top */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px; /* Space between links */
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* 2. The "Magic" to turn a black/colored SVG into white */
.logo img {
    filter: brightness(0) invert(1);
    width: 40px; /* Adjust size as needed */
}


.button-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.track-btn {
    background-color: white;
    color: var(--main-color); /* That same soft pink */
    border: 1px solid white;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'CircularStd', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.track-btn:hover {
    background-color:var(--main-color); /* Dusty rose from earlier */
    color: white;
    transform: translateY(-2px); /* Slight lift effect */
}



.input {
 border: solid 1.5px #9e9e9e;
 border-radius: 1rem;
 background: none;
 padding: 1rem;
 font-size: 1rem;
 color: #f5f5f5;
 transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}



.modern-input {
  /* Colors & Background */
  background-color: rgba(255, 255, 255, 0.1); /* Very subtle white overlay */
  color: white;
  
  /* Shape & Size */
  border: 2px solid var(--main-pink);
  border-radius: 12px; /* Nice rounded corners */
  padding: 12px 16px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  
  /* Smoothness */
  outline: none;
  transition: all 0.2s ease-in-out;
}



#dynamic-inputs-container {
    width: 100%;
    box-sizing: border-box; /* Crucial so padding doesn't make it 532px again! */
    padding: 10px;
   
}

/* When the user clicks into it */
.modern-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Makes placeholder text look elegant */
.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.modern-btn {
  background-color: var(--main-color);
  color: white; /* Darker text for contrast on pink */
  border: 1px solid white;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modern-btn:hover {
  background-color: white;
  box-shadow: 0 0 15px var(--main-color);
  transform: translateY(-2px); /* Slight lift effect */
}

.modern-btn:active {
  transform: translateY(0);
}

.modern-select {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid var(--main-color);
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  width: 100%;
  outline: none;
  appearance: none; /* Removes the default browser arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 16px;
}

/* This targets the actual list that drops down */
.modern-select option {
  background-color: #1a1a1a; /* Match your app's dark background */
  color: white;              /* Force text to be visible */
  padding: 10px;             /* Note: Some browsers ignore padding on options */
}

/* Fix for some browsers that try to be helpful with "hover" colors */
.modern-select:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}


.add-field {
  /* Colors & Background */
  background-color: rgba(255, 255, 255, 0.1); /* Very subtle white overlay */
  color: white;
  
  /* Shape & Size */
  border: 2px solid var(--main-pink);
  border-radius: 12px; /* Nice rounded corners */
  padding: 12px 16px;
  font-size: 16px;
  width: 50%;
  box-sizing: border-box;
  margin-top: 10px;
    text-align: left;

  /* Smoothness */
  outline: none;
  transition: all 0.2s ease-in-out;
}