.content {
    background-color: #f5fbff;
}

.heros {
    text-align: center;
}

.heros h1 {
    margin-bottom: 15px;
    font-weight: 600;
}

.form-container-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    max-width: 650px;
    margin: auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #444;
    font-size: 1.0em;
}

.form-text {
    font-size: 0.875em;
    color: #6c757d;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}


.style-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}
.style-option input[type="radio"] {
    display: none;
}
.style-option label {
    display: block;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
    color: #555;
    margin-bottom: 0;
}
.style-option label:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.style-option input[type="radio"]:checked + label {
    background: #49b5e7;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-generate {
    display: flex; justify-content: center; align-items: center;
    width: 100%; padding: 14px 20px;
    font-size: 1.1em; font-weight: 600; color: #ffffff;
    background: #49b5e7;
    border: none; border-radius: 8px; cursor: pointer;
    transition: all 0.2s ease;
    text-align: center; position: relative; min-height: 50px;
    margin-top: 15px;
}
.btn-generate:hover {
    opacity: 0.9;
}
.btn-generate:active { transform: scale(0.98); }
.btn-generate:disabled { background: #49b5e7;; cursor: not-allowed; box-shadow: none; opacity: 0.7;}
.btn-generate .btn-text { margin-right: 8px; }
.btn-generate .btn-icon { font-size: 1em; display: inline-block; transition: opacity 0.2s; }
.btn-generate .spinner {
    font-size: 1.3em; display: none; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); color: #fff;
}
.btn-loading .btn-text, .btn-loading .btn-icon { visibility: hidden; }
.btn-loading .spinner { display: inline-block; animation: fa-spin 1s infinite linear;}
@keyframes fa-spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

#results {
    scroll-margin-top: 80px;
    padding-top: 20px;
    background: none;
    padding-bottom: 0;
}
.results-title {
   text-align: center;
   margin-bottom: 30px;
   font-weight: 600;
}
.bio-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 25px;
}
.bio-card {
   background-color: #fff; border: 1px solid #eee; border-radius: 10px; padding: 25px;
   display: flex; flex-direction: column; justify-content: space-between;
   transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative;
   box-shadow: 0 3px 10px rgba(0,0,0, 0.04);
   position: relative;
}
.bio-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0, 0.08); }
.bio-header { display: flex; align-items: flex-start; position: relative; }
.bio-number {
   font-weight: 700; font-size: 1.5em;
   color: #0f394c;
   margin-right: 15px; line-height: 1.3; min-width: 30px; text-align: right;
   padding-top: 2px;
   position: absolute;
    top: -10px;
    left: -10px;
}
.bio-text {
   flex-grow: 1;
   word-wrap: break-word; white-space: pre-wrap;
   margin-top: 30px;
   margin-bottom: 0;
}

/* Copy Button */
.copy-button {
   background-color: #f0f9ff; color: #49b5e7; border: none;
   border-radius: 6px; cursor: pointer; font-size: 0.9em; font-weight: 500;
   transition: all 0.2s ease;
   align-self: flex-end; margin-top: auto; display: inline-flex; align-items: center;
   position: absolute;
   border-radius: 50%;
   width: 30px;
  height: 30px;
  top: 14px;
  justify-content: center;
}
.copy-button i { font-size: 0.9em; }
.copy-button:hover { background-color: #49b5e7; color: #fff; transform: translateY(-2px); }
.copy-button:active { transform: scale(0.96); }
.copy-button.copied { background-color: #6ebf70; color: #ffffff; } 


/* --- Responsiveness --- */
@media (max-width: 768px) {
   .main-title { font-size: 2em; }
   .title-section p { font-size: 1em; }
   .form-container-card { padding: 25px 20px; }
   .style-selection-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
   .style-option label { font-size: 0.9em; padding: 10px 8px; }
   .main-nav { display: none; } /* Basic mobile: hide nav */
   .theme-toggle { margin-left: 0; }
    .bio-grid { grid-template-columns: 1fr; gap: 20px;} /* Single column grid */
}
@media (max-width: 576px) {
    body { font-size: 15px; }
   .header-container { padding: 0 15px; }
   .site-logo a { font-size: 1.2em; }
   .main-title { font-size: 1.8em; padding: 3px 10px; }
   .title-section { padding: 40px 0 30px; }
   .form-control { padding: 10px 12px; }
   .btn-generate { font-size: 1em; padding: 12px 15px; min-height: 46px;}
    .bio-card { padding: 20px; }
    .bio-text { font-size: 0.95em; }
    .copy-button { font-size: 0.85em; padding: 8px 12px; }
    .site-footer { padding: 25px 0; font-size: 0.85em; }
}