/* Styles for the new application component */

/* Start Screen Buttons Styling */
#start-screen .start-btn {
    display: inline-flex;             /* Flex for icon + text */
    align-items: center;              /* Vertically align content */
    justify-content: center;          /* Center text + icon */
    gap: 0.5rem;                      /* Space between icon and text */
    padding: 0.8rem 1.6rem;           /* Button size */
    font-size: 1rem;                  /* Clean readable font */
    font-weight: 500;                 /* Slightly bold */
    color: #fff;                      /* Text color */
    background: #1e1e1e;              /* Default LinkedIn blue */
    border-radius: 8px;               /* Rounded corners */
    border: none;                     /* No default border */
    cursor: pointer;                  /* Pointer on hover */
    transition: all 0.3s ease;        /* Smooth hover effect */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* Soft shadow */
    text-decoration: none;            /* Remove link underline */
}

/* Hover effect */
#start-screen .start-btn:hover {
    background: #004182;              /* Darker shade on hover */
    transform: translateY(-2px);      /* Slight lift */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Different style for Resume button */
#start-screen .start-btn.resume {
    background: #2d2d2d;              /* Neutral dark for resume */
}

#start-screen .start-btn.resume:hover {
    background: #000;                  /* Slightly darker */
}

/* Form & Card Styles */
.form-step { display: none; }
.form-step.active { display: block; }

.progress-bar-container {
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 9999px;
    height: 0.5rem;
    overflow: hidden;
}
.progress-bar-fill { 
    background-color: #3f4041; /* blue-600 */
    height: 100%;
    border-radius: 9999px;
    transition: width 0.4s ease-in-out; 
}

.notion-style-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 12px;
}

/* Floating Label Form Group Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none; /* Removes default Safari styling for select */
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #6b7280;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: transparent; /* Changed for better compatibility */
    padding: 0 0.25rem;
}

/* Logic for floating label animation */
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: #3b82f6;
    font-weight: 500; 
    background-color: white; /* Match card background */
}

/* Special handling for select element */
.form-group select.form-input:required:invalid {
  color: #6b7280;
}
.form-group option {
  color: #111827;
}


.btn-primary {
    background-color: #111827;
    color: white;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.btn-primary:hover { 
    background-color: #374151; 
}
.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.btn-secondary:hover { 
    background-color: #d1d5db; 
}

/* AI Chat Bot Styles (if you decide to add it back) */
#career-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
#bot-chat-window {
    height: 400px;
    width: 320px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
}

