body {
    font-family: Arial, sans-serif;
    background-color: #f5f8f9;
    color: #333;
    margin: 0;
    padding: 0;
	background-image: url('../pharmacybg.png'); /* Adjusted path for CSS file */
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(144, 222, 230, 0.308); 
    z-index: -1; 

}

#profile-section {
    max-width: 500px;
    margin: 125px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 30px 40px;
}

h2 {
    color: #4a7c8a;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #408C67;
}

input[type="text"],
input[type="email"] {
    padding: 10px 12px;
    border: 2px solid #4a7c8a;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #408C67;
    outline: none;
    background-color: #eaf6f4;
}

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

button.btn-update,
.button-group a.btn-secondary {
    flex: 1;               /* Make both buttons share equal width */
    max-width: 200px;      /* Optional max width */
    text-align: center;
    padding: 12px 0;
    font-weight: 700;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.btn-update {
    background-color: #408C67;
    border: none;
    color: #fff;
}

button.btn-update:hover {
    background-color: #356b52;
}

.button-group a.btn-secondary {
    background-color: #4a7c8a;
    color: white;
    text-decoration: none;
    display: inline-block;
    line-height: normal; /* fix vertical alignment */
}

.button-group a.btn-secondary:hover {
    background-color: #3c636e;
}
p {
    text-align: center;
    font-weight: 600;
}

/* These specific color styles for p tags might be better handled by classes if you expand */
/* For now, leaving them as they were implicitly targeted by PHP inline styles */
/* p[style*="color: green"] { color: #408C67; } */ /* No longer needed if PHP uses classes */
/* p[style*="color: red"] { color: #d9534f; } */   /* No longer needed if PHP uses classes */

/* Added classes for messages */
.profile-message.success {
    color: #408C67; /* Or your preferred success color */
}

.profile-message.error {
    color: #d9534f; /* Or your preferred error color */
} 