.my-account-container { padding: 20px; color: white; border-radius: 8px; max-width: 800px; margin: auto; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); } h1 { text-align: center; } .account-form { display: flex; flex-direction: column; } input, textarea { margin: 10px 0; padding: 10px; border: none; border-radius: 5px; } input:focus, textarea:focus { outline: none; box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); } button { padding: 10px; background-color: #ff6347; color: white; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s ease; } button:hover { background-color: #ff4500; } /* New styles for the degrees, addresses, and contacts sections */ h2 { margin-top: 20px; margin-bottom: 10px; } /* Updated sections to include proper spacing and new line for each field */ .degree-section, .address-section, .contact-section { border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; padding: 15px; margin-bottom: 20px; background-color: rgba(255, 255, 255, 0.1); /* Slightly visible background */ display: flex; flex-direction: column; /* Ensure fields stack vertically */ } .degree-section label, .address-section label, .contact-section label { margin-bottom: 5px; font-weight: bold; } /* Updated input and select styles for better spacing */ .degree-section input, .address-section input, .contact-section input, .degree-section select, .address-section select, .contact-section select { margin-bottom: 15px; /* Increased space between fields */ width: 100%; /* Ensure fields take full width */ } .degree-section button, .address-section button, .contact-section button { align-self: flex-start; /* Align buttons to the left */ margin-top: 10px; /* Space above buttons */ }