/* Reset and Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to bottom, #f0f9ff, #cfe7ff);
    color: #333;
}
header {
    background-color: #0044cc;
    color: white;
    padding: 15px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    height: 50px;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a.active, nav ul li a:hover {
    background-color: #0056e6;
}

/* Profile Container */
.profile-container {
    margin: 20px auto;
    padding: 20px;
    max-width: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.profile-picture {
    margin-bottom: 20px;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.upload-btn {
    display: inline-block;
    padding: 8px 12px;
    background-color: #22aaff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

input[type="file"] {
    display: none;
}

label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #22aaff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

/* Common Styles */
.btn-cancel {
    width: 100%;
    padding: 10px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-cancel:hover {
    background-color: #d32f2f;
}

/* Profile Picture and Upload Centered */
.profile-picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.upload-btn {
    display: inline-block;
    padding: 8px 12px;
    background-color: #22aaff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

input[type="file"] {
    display: none;
}

/* Input Fields */
input[readonly] {
    background-color: #f4f4f4;
    color: #888;
    cursor: not-allowed;
}

/* Hide Password Strength by Default */
#password-strength {
    color: red;
    font-size: 0.9rem;
    margin-top: -10px;
}

.profile-picture img {
    opacity: 2.0;
}

.profile-picture input[disabled] + label {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-primary:hover {
    background-color: #1b8edb;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

footer a {
    color: #22aaff;
    text-decoration: none;
}

