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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.topbar {
    background-color: #2c3e50;
    color: white !important;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.topbar * {
    color: white !important;
}

.topbar .title {
    font-size: 24px;
    font-weight: bold;
    color: white !important;
    text-decoration: none;
    cursor: pointer;
}

.topbar .title:link,
.topbar .title:visited,
.topbar .title:hover,
.topbar .title:active {
    color: white !important;
    text-decoration: none;
}

.topbar .auth {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar .auth .profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.topbar .auth .default-profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.topbar .auth a {
    color: white !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.topbar .auth a:link,
.topbar .auth a:visited,
.topbar .auth a:hover,
.topbar .auth a:active {
    color: white !important;
}

.topbar .auth a:hover {
    background-color: #34495e;
}

.signin-btn {
    background-color: #3498db;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.signin-btn:hover {
    background-color: #2980b9;
}

.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.container h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.container p {
    color: #666;
    line-height: 1.6;
}

.signin-form {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.signin-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-row .form-group:first-child {
    flex: 2;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.signin-form .signin-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

.error {
    background-color: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success {
    background-color: #27ae60;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.profile-page {
    max-width: 800px;
    margin: 0 auto;
}

.profile-page h1 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
}

.current-photo {
    text-align: center;
    margin-bottom: 30px;
}

.current-photo img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
    border: 4px solid #3498db;
    object-fit: cover;
}

.no-photo {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.no-photo p {
    color: #999;
    font-style: italic;
}

.upload-form {
    margin-top: 20px;
}

.upload-form .form-group input[type="file"] {
    padding: 5px;
}

.profile-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-info h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
}

.profile-info p {
    color: #666;
    margin-bottom: 10px;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    color: #3498db;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

.error-page {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.error-page h1 {
    color: #e74c3c;
    margin-bottom: 30px;
    font-size: 36px;
}

.error-message {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.error-message p {
    color: #e74c3c;
    font-size: 18px;
    font-weight: bold;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.intro-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.intro-section h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 24px;
}

.intro-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin: 0;
}

.services-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.services-section h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 18px;
}

.services-section p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.tools-list li {
    margin-bottom: 10px;
}

.tools-list li a {
    color: #3498db;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.tools-list li a:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}
