/* Base styles - matching original index.html */
html * {
    font-family: Georgia, serif;
}

body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
}

header {
    font-size: medium;
    position: relative;
}

h1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2px;
    margin-bottom: 2px;
}

h1 a {
    text-decoration: none;
    color: inherit;
}

h1 a:hover {
    text-decoration: underline;
}

h3 {
    margin-bottom: 4px;
}

.list-section {
    margin-bottom: 30px;
}

p {
    font-size: medium;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

ul {
    margin: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 4px;
}

/* Hide bullet point when favicon is present */
li.has-favicon {
    list-style: none;
    margin-left: -20px;  /* Align with other items */
}

/* Favicon next to links */
.favicon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Generic placeholder for items without external URLs */
.favicon-placeholder {
    display: inline-block;
    width: 16px;
    text-align: center;
    margin-right: 6px;
    color: #666;
    font-size: 12px;
}

/* GitHub activity section */
.github-activity {
    margin-bottom: 30px;
}

.github-activity img {
    display: block;
    max-width: 100%;
}

a {
    color: #0066cc;
}

a:visited {
    color: #551a8b;
}

/* Auth controls */
.auth-controls {
    position: absolute;
    top: 0;
    right: 0;
}

.auth-btn {
    padding: 5px 10px;
    cursor: pointer;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: Georgia, serif;
}

.auth-btn:hover {
    background: #e0e0e0;
}

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: Georgia, serif;
    box-sizing: border-box;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.modal button[type="submit"] {
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 3px;
    font-family: Georgia, serif;
}

.modal button[type="submit"]:hover {
    background: #0055aa;
}

.error {
    color: red;
    margin-top: 10px;
}

/* Footer */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
}
