/* ==========================================================================
   1. Reset / Base Styles
   ========================================================================== */
body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
    color: #333;
}

a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   2. Container
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ==========================================================================
   3. Header / Navigation
   ========================================================================== */
.site-header {
    display: flex;
    justify-content: space-between; /* logo/title left, nav right */
    align-items: center;
    margin-bottom: 30px;
}

.logo-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-header .logo {
    height: 60px;
    width: auto;
    margin-bottom: 2px; /* spacing between logo and title */
}

.site-title, 
.site-header .logo-title h1 {
    font-size: 22px;        /* unified site title size */
    font-weight: bold;      /* consistent weight */
    margin: 5px 0 0 0;      /* margin-top 5px, remove others */
    text-align: left;       /* left-aligned under logo */
    font-family: Arial, sans-serif; /* consistent font */
}

.site-nav {
    text-align: right;
}
.site-nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}
.site-nav a:hover {
    text-decoration: underline;
}
.site-nav span {
    margin-left: 15px;
    font-weight: normal;
    color: #333;
}

/* ==========================================================================
   4. Page Titles
   ========================================================================== */
.page-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ==========================================================================
   5. Forms
   ========================================================================== */
/* Generic Auth Forms (Login, Register, Edit Account) */
.auth-form, .login-form, .form-section {
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-form label, .login-form label, .form-section label {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.auth-form input, .login-form input, .form-section input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button, .auth-form button, .login-form button, .form-section button, .btn-view {
    padding: 10px 18px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover, .btn-view:hover, .auth-form button:hover, .login-form button:hover, .form-section button:hover {
    background-color: #0056b3;
}

.error {
    color: #b00020;
    background-color: #f9d6d5;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

.success {
    color: #155724;
    background-color: #d4edda;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

/* ==========================================================================
   6. Headings
   ========================================================================== */
h1, h2, h3 {
    color: #222;
    margin-bottom: 15px;
}

/* ==========================================================================
   7. Images
   ========================================================================== */
img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-top: 15px;
}

/* ==========================================================================
   8. Auctions / Listing
   ========================================================================== */
.auction-list, .auction-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.auction-item, .auction-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    width: 250px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.auction-item img, .auction-card .auction-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.auction-no-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #888;
    border-radius: 4px;
}

/* Featured Auctions Title */
.featured-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
}

/* ==========================================================================
   9. Footer (if needed)
   ========================================================================== */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
}