* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #ffffff;
    padding: 0;    
    margin: 0;
    padding-bottom: 60px
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #8EBFE4;
    padding: 10px 20px;
}

.header img {
    max-width: 100%;
    height: auto;
}

.logo-img {
    height: 60px;
}


.container {
    /* max-width: 850px;
    margin: 30px auto; */
    max-width: 800px;
    margin: 0 auto;
    background-color: #E18741;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 25px #5365A8;
    padding-bottom: 60px
}


.login-container {
    background-color: #E18741;
    /* width: 600px; */
    
    width: 100%;
    max-width: 600px;
    min-height: 720px;
    padding: 40px;

    margin: 50px auto;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 20px #5365A8;
    text-align: center;
}


.login-title {
    font-size: clamp(22px, 5vw, 32px);
    color: #4A59AA;
    margin-bottom: 40px; 
    font-weight: bold;
}


.login-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 35px 0 25px 0;
}


.login-form-group label {
    color: #4A59AA;
    font-size: 16px;
    margin-bottom: 10px; 
    text-align: center;
}


.login-form-group input {
    width: 100%;
    padding: 16px 14px; 
    border: none;
    border-radius: 8px;
    background-color: #e8e8e8;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

.login-form-group input:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 8px #8EBFE4;
}


.reset-password {
    margin: 15px 0 25px 0;
    text-align: center;
}


.reset-password a {
    color: #4A59AA;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}


.login-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0; 
}

.login-terms input {
    width: 18px;
    height: 18px;
    accent-color: #4A59AA;
}

.login-terms label {
    color: #4A59AA;
    font-size: 15px;
}


.login-btn {
    display: block;
    width: 80%;
    margin: 30px auto 25px auto; 
    padding: 16px 0; 
    background-color: #8EBFE4;
    color: #4A59AA;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-btn:hover {
    background-color: #8EBFE4;
    transform: scale(1.05);
}


.register-section {
    margin-top: 20px;
    font-size: 15px;
    color: #4A59AA;
    text-align: center;
}


.register-btn {
    display: block;
    margin: 15px auto;
    background-color: #8EBFE4;
    color: #4A59AA;
    border: none;
    padding: 12px 30px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.register-btn:hover {
    background-color: #7bb0d8;
    transform: scale(1.05);
}


.form-title {
    text-align: center;
    font-size: clamp(22px, 5vw, 32px);
    color: #4A59AA;
    margin-bottom: 30px;
    font-weight: bold;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    margin-bottom: 20px;
}

label {
    color: #4A59AA;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #e8e8e8;
    font-size: 14px;
}


/* .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #8EBFE4;
    padding: 20px;
    color: #4A59AA;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 20px;
} */
 /* .footer {
    position: fixed;  
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #8EBFE4;
    padding: 10px 20px; 
    color: #4A59AA;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
} */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #8EBFE4;
    padding: 10px 20px;
    color: #4A59AA;
    box-sizing: border-box;
    display: flex; /* Folosește flexbox pentru alinierea corectă a elementelor */
    justify-content: space-between;
    align-items: center;
    z-index: 10; /* Asigură-te că footer-ul este peste restul conținutului */
}


.footer p {
    margin: 0;
    flex: 1;
    text-align: left;
}

.footer .feedback {
    flex: 1;
    text-align: center;
    color: #4A59AA;
    text-decoration: none;
}

.footer .contact {
    flex: 1;
    text-align: right;
    color: #4A59AA;
    text-decoration: none;
}




.error-message {
    display: none;
    color: red;
    font-size: 12px;
    margin-top: 5px;
}


.with-button {
    display: flex;
    gap: 10px;
    align-items: center;
}

.send-code-btn {
    padding: 8px 15px;
    background-color: #8EBFE4;
    color: #4A59AA;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.send-code-btn:hover {
    background-color: #8EBFE4;
    transform: scale(1.05);
}

.security-question {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 50px 0 25px 0;
}


.auth-container {
    background-color: #E18741;
    width: 100%;
    min-height: 720px;
    margin: 80px auto 80px auto;
    max-width: 600px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px #5365A8;
    text-align: center;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 50px 0 25px 0;
}

.auth-btn {
    display: block;
    width: 80%;
    margin: 200px auto 25px auto; 
    padding: 16px 0; 
    background-color: #8EBFE4;
    color: #4A59AA;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}


.main-content {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    gap: 40px;
    margin-left: 30px;
}

.right-side {
    display: flex;
    flex-direction: column; 
    align-items: center;
}

.index_img {
    max-width: 100%; /* Asigură-te că imaginea nu depășește lățimea disponibilă */
    height: auto; /* Menține proporțiile corecte */
    margin-bottom: 20px;  /* Adaugă un spațiu sub imagine */
    margin: 20px 50px; /* Centrează imaginea și adaugă spațiu pe verticală */
}

.buttons {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    /* margin-right: 300px; */
     width: 100%;  /* Asigură-te că butoanele se extind pe toată lățimea */
    max-width: 400px;  /* Adaugă o lățime maximă pentru butoane */
    align-items: center;
    padding-left: 50px; /* Adaugă spațiu pe stânga față de marginea containerului */
    padding-right: 50px; 
}

/* .login-btn,
.register-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
} */
.login-btn, .register-btn {
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: #8EBFE4;
    color: #4A59AA;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px, 50px;
}


.login-btn {
    background-color: #8EBFE4;
    color: #5365A8;
    border: none;
    border-radius: 5px;
    margin: 20px, 50px;
}

.register-btn {
    background-color: #8EBFE4;
    color: #5365A8;
    border: none;
    border-radius: 5px;
    margin: 20px, 50px;
}

.welcome-message {
    font-size: clamp(22px, 5vw, 32px);;
    color: #4A59AA;
    font-weight: bold;
    text-align: left;       
    width: 1080px;
    height: 87px;
    align-items: center;
    margin-left: 150px;
    margin-right: 150px;
}


.reset-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.reset-container {
    background-color: #E18741;
    width: 100%;
    min-height: 720px;
    max-width: 600px;
    margin: 80px auto 80px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px #5365A8;
    text-align: center;
}

.title {
    font-size: clamp(22px, 5vw, 32px);
    color: #4A59AA;
    margin-bottom: 40px;
    font-weight: bold;
}

.reset-form-group {
    margin-bottom: 40px; 
}


.reset-container .title {
    margin-bottom: 50px;
    display: block;
    text-align: center;
    color: #5365A8;
}

.with-button-reset {
    display: flex;
    justify-content: center;  
    gap: 15px;                
    margin-top: 10px;
}


.with-button-reset select,
.with-button-reset input {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;

}


.button-group {
    margin-top: 90px;   
    display: flex;
    justify-content: center; 
}

textarea {
  width: 100%;            
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;       
}

.feedback-container {
    background-color: #E18741;
    width: 100%;
    height: 500px;
    margin: 50px auto;
    max-width: 600px;
    min-height: 720px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px #5365A8;
    text-align: center;
}

.profile-container {
  background-color: #E18741;
  width: 100%;
  max-width: 1600px;
  min-height: 700px;
  margin: 50px auto;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 8px 20px #5365A8;
  text-align: center;
}

#profileForm {
  display: flex;
  flex-direction: column;
  gap: 30px;             
  align-items: flex-start;
  max-width: 400px;      
  justify-content: flex-start; 
  align-items: flex-start;     
  

  padding-left: 50px; 
  margin: 20px 0;    
}

.profile-group {
  display: flex;
  flex-direction: row;  
  align-items: center;
  gap:10px;
  background: transparent; 
  padding: 0;              
  border-radius: 0;
}


label {
  font-weight: 600;
  color: #5365A8; 
  font-size: 22px;
}

.profile-value {
  color: #5365A8;
  font-size: 16px;
  font-weight: 500;
  background: none;      
  border: none;          
  padding: 0;
  margin: 0;
}

.add-email-container {
  background-color: #E18741;
  width: 100%;
  max-width: 600px;
  min-height: 720px;
  height: 500px;
  margin: 50px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px #5365A8;
  text-align: center;
}

.success-message {
  color: #4A59AA;
  font-size: 14px;
  margin-top: 15px;
}

.add-email-btn {
  background-color: #8EBFE4;
  color: #5365A8;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.add-email-btn:hover {
  background-color: #5365A8;
}

.add-secQuest-container {
  background-color: #E18741;
  width: 100%;
  max-width: 600px;
  min-height: 720px;
  height: 500px;
  margin: 50px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px #5365A8;
  text-align: center;
}


.add-secQuest-btn {
 background-color: #8EBFE4;
  color: #5365A8;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 40px;
  transition: background-color 0.2s ease;
}

.secQuest-container {
  background-color: #E18741;
  width: 100%;
  max-width: 600px;
  min-height: 720px;
  height: 500px;
  margin: 50px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px #5365A8;
  text-align: center;
}

.secQuest-group {
  display: flex;
  flex-direction: row;  
  align-items: left;
  gap: 5px;
  background: transparent; 
  padding: 0;              
  border-radius: 0;
}

.firstName-container {
       background-color: #E18741;
        width: 100%;
        max-width: 600px;
        min-height: 720px;
        height: 440px;
        margin: 50px auto;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 8px 20px #5365A8;
        text-align: center;
    }

    .first-group {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin-bottom: 55px; 
    }

    .first-group label {
      color: #5365A8;
      font-weight: 500;
      font-size: 18px;
    }

    #firstNameInput {
      width: 80%;        
      padding: 12px 16px; 
      font-size: 18px;;
      outline: none;
      transition: 0.2s ease;
    }

    #firstNameInput:focus {
      border-color: #5365A8;
      box-shadow: 0 0 6px rgba(83, 101, 168, 0.5);
    }

    .submit-btn {
      background-color: #8EBFE4;
      color: #5365A8;
      border: none;
      padding: 12px 25px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      transition: 0.3s ease;
      margin-top: 15px;
    }

    .submit-btn:hover {
      background-color: #5365A8;
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(83, 101, 168, 0.3);
    }

#secondNameInput {
      width: 80%;        
      padding: 12px 16px; 
      font-size: 18px;;
      outline: none;
      transition: 0.2s ease;
    }

    #secondNameInput:focus {
      border-color: #5365A8;
      box-shadow: 0 0 6px rgba(83, 101, 168, 0.5);
    }

.profile-menu {
  display: flex;
  justify-content: flex-start; 
  flex-wrap: wrap;
  gap: 12px;
  padding: 0px 5px;
  margin-bottom: 30px; 
  /* border-radius: 8px; */
  margin-top: 0;
}

.profile-menu button {
  background-color: #8EBFE4;
  color: #5365A8;
  border: none;
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.1s ease;
  width: 170px; 
  text-align: center; 
}

.profile-menu button:hover {
  background-color: #415298;
  transform: translateY(-1px);
}

.profile-menu button:active {
  transform: translateY(1px);
}

/* .objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #4A59AA;
}

.objectives-list input[type="checkbox"] {
    transform: scale(1.3);
    margin-right: 12px;
} */

.objectives-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.objectives-container {
    max-height: 350px;          /* 🔑 */
    overflow-y: auto;           /* 🔑 */
    border: 1px solid #dcdcdc;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objective-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    margin-bottom: 12px;
}
.objective-text {
    font-size: 16px;
    font-weight: 600;
    color: #4A59AA; /* ALBASTRU */
}

.profile-menu-test{
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;
  gap: 60px;
  padding: 0px 5px;
  margin-bottom: 30px; 
  /* border-radius: 8px; */
  margin-top: 0;
}

.profile-menu-test button {
background-color: #8EBFE4;
  color: #5365A8;
  border: none;
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.1s ease;
  width: 170px; /* toate butoanele au aceeași lățime */
  text-align: center; /* centrăm textul */
}

.objectives-container {
    max-height: 320px;      
    overflow-y: auto;      
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9ff;
}

.difficulty-panel {
    margin-top: 20px;
    text-align: center;
    color: #5365A8;
}

.difficulty-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.diff-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.easy   { background: #8EBFE4; color: #5365A8; }
.medium { background: #8EBFE4; color: #5365A8; }
.hard   { background: #8EBFE4; color: #5365A8; }

.diff-btn:hover {
    transform: scale(1.05);
}


body {
  margin: 0;
  background: #eef6fb;
  font-family: Segoe UI, Arial, sans-serif;
   overflow-x: hidden;
}

.app {
  width: 95%;
  margin: auto;
  background: #fff;
  border: 2px solid #3b6ea5;
}

/* ===== HEADER ===== */
.toolbar {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #dbe8f4;
  border-bottom: 2px solid #3b6ea5;
}

.toolbar button {
  padding: 6px 10px;
  font-weight: bold;
  cursor: pointer;
}

.toolbar .danger {
  background: #d9534f;
  color: white;
}

.toolbar .mark {
  background: #777;
  color: white;
}

/* ===== QUESTION HEADER ===== */
.question-header {
  padding: 10px;
  border-bottom: 1px solid #aaa;
}

.question-number {
  color: #2c6fb7;
  font-weight: bold;
  margin-right: 10px;
}

.question-id {
  font-size: 12px;
  color: #666;
}

.question-header h2 {
  color: #6fa8dc;
  margin-top: 5px;
}

/* ===== CONTENT ===== */
.content {
  min-height: 300px;
  border: 1px solid #aaa;
  margin: 10px;
  text-align: center;
}

.content img {
  max-height: 200px;
  margin: 20px auto;
}

/* ===== ANSWERS ===== */
.answers {
  padding: 10px;
  border-top: 1px solid #aaa;
}

.answer {
  margin: 5px 0;
}

/* ===== FOOTER ===== */
.progress {
  border-top: 2px solid #3b6ea5;
  padding: 10px;
  text-align: center;
  background: #f4faff;
}

/* ===== CODE EDITOR ===== */
/* .code-editor {
    display: flex;
    border: 1px solid #4a86e8;
    margin: 10px;
    height: 420px;
    background: #ffffff;
}

.line-numbers {
    background: #f1f1f1;
    padding: 10px 6px;
    text-align: right;
    color: #777;
    user-select: none;
    font-family: Consolas, monospace;
    font-size: 13px;
    line-height: 1.4;
}

.code-editor pre {
    margin: 0;
    padding: 10px;
    overflow: auto;
    flex: 1;
}

.code-editor code {
    white-space: pre;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.4;
    color: #000;
} */

.code-editor {
    display: grid;
    grid-template-columns: 48px 1fr;
    border: 1px solid #4a86e8;
    margin: 10px;
    height: 420px;
    background: #ffffff;

    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.4;

    text-align: left;
}

.line-numbers {
    background: #f1f1f1;
    color: #777;
    text-align: right;
    padding: 10px 6px 10px 0;
    user-select: none;
    white-space: pre;
}

.code-editor pre {
    margin: 0;
    padding: 10px 0 10px 6px;
    overflow: auto;
}

.code-editor code {
    white-space: pre;
    display: block;
}


/* ===== Java simple highlight ===== */

/* Cuvinte cheie (public, class, etc.) */
.kw { color: blue; font-weight: bold; }

/* Comentarii */
.comment { color: magenta; font-style: italic; }

/* Stringuri */
.str { color: green; }

/* Numere */
.num { color: pink; }

/* Tipuri primitive (int, boolean) */
.primitive { color: orange; font-weight: bold; }

/* Operatori */
.operator { color: red; font-weight: bold; }

/* Clase Java (String, Integer) */
.java-class { color: red; font-weight: bold; font-style: italic; }

@media (max-width: 768px) {

    .form-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;  /* Centrează imaginea și butoanele pe ecran */
        justify-content: center;
        text-align: center;  /* Asigură-te că textul este centrat */
        padding: 20px;
        margin: 0 auto; /* Centrează main-content pe ecran */
    }

    .welcome-message {
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 20px;  
    }

    .profile-menu button,
    .profile-menu-test button {
        width: 100%;
    }

    .login-btn,
    .register-btn,
    .auth-btn {
        width: 100%;
    }

    .form-group {
        flex-direction: column; /* Se pune pe verticală câmpurile */
        align-items: flex-start; /* Se aliniază la stânga */
    }

    .form-group input,
    .form-group label {
        width: 100%; 
        margin-bottom: 10px; 
    }

    .index_img {
        max-width: 80%; 
        margin-bottom: 15px;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
    }

    .login-btn, .register-btn {
        width: 100%;
    }
}


.results-card {
            padding: 30px;
            max-width: 400px;
            max-height: 700px;
            margin: 40px auto;
            text-align: left;
            color: #4A59AA;
        }
        .result-item {
            margin-bottom: 15px;
            font-size: 18px;
            display: flex;
            justify-content: space-between;
            padding-bottom: 35px;
        }
        .result-item b {
            color: #4A59AA;
        }
        .percentage {
            font-size: 24px;
            font-weight: bold;
            color: #4A59AA;
            text-align: center;
            margin-top: 20px;
        }

        .chart-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(83, 101, 168, 0.2);
    border: 1px solid #8EBFE4;
}

.chart-container h3 {
    color: #4A59AA;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
}

#learningCurveChart {
    width: 100% !important;
    height: auto !important;
}

.action-card {
    display: flex;       
    flex-direction: row; 
    justify-content: center; 
    gap: 100px;           
    margin-top: 50px;    
    width: 100%;
}

.btn-test {
    background-color: #8EBFE4;
    color: #4A59AA;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    width: auto;
    flex: 1;
    max-width: 400px;
    margin-top: 50px;
}

.btn-test:hover {
    background-color: #3b498f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Containerul principal care va alinia profilul și graficul */
.profile-content-layout {
    display: flex;
    flex-direction: row; /* Aliniere orizontală */
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; /* Spațiu între profil și grafic */
    margin-top: 20px;
    text-align: left; /* Resetăm centrarea din containerul părinte */
}

/* Ajustăm formularul de profil să ocupe partea stângă */
#profileForm {
    flex: 1; /* Ocupă spațiul disponibil pe stânga */
    margin: 0; 
    padding-left: 0; /* Scoatem padding-ul vechi dacă e cazul */
}

/* Ajustăm secțiunea de statistici să ocupe partea dreaptă */
.stats-section {
    flex: 1; /* Ocupă spațiul disponibil pe dreapta */
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px; /* Prevenim lărgirea excesivă a graficului */
}

/* Modificare pentru Responsivitate (Mobile) */
@media (max-width: 1024px) {
    .profile-content-layout {
        flex-direction: column; /* Pe ecrane mici revin unul sub altul */
        align-items: center;
    }
    #profileForm, .stats-section {
        width: 100%;
        max-width: 100%;
    }
}