/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Shared tab container */
.tab {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

/* Circle logo */
.circle-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc;
}
.circle-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Headings */
.tab h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Labels */
.tab label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #555;
}

/* Inputs */
.tab input[type="text"],
.tab input[type="password"],
.tab textarea {
    width: 100%;
    padding: 12px 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.tab input:focus,
.tab textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52,152,219,0.5);
}

/* Textarea specific */
.tab textarea {
    resize: vertical;
}

/* Buttons */
.tab button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    background: #3498db;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.tab button:hover {
    background: #2980b9;
}

/* Error/Status messages */
#loginError,
#saveStatus {
    font-weight: bold;
    margin-top: 10px;
    display: none;
}

#loginError { color: red; }
#saveStatus { color: green; }

/* Responsive */
@media(max-width: 500px) {
    body { padding: 20px; align-items: center; }
    .tab { padding: 25px 15px; }
    .circle-container { width: 100px; height: 100px; }
    .tab h2 { font-size: 24px; }
    .tab input, .tab textarea { padding: 10px; font-size: 14px; }
    .tab button { padding: 12px; font-size: 16px; }
}
