/* header style */
.navbar {
    background: #4f46e5;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.navbar a:hover {
    text-decoration: underline;
}

.brand {
    font-size: 18px;
}

 /* footer style */
.footer {
    background: #4f46e5;
    color: white;
    padding: 15px 40px;
    margin-top: 40px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

 /* main page style */

body {
    font-family: Arial, sans-serif;
    background: #f2f4f8;
    margin: 0;
}

/* Main container */
.container {
    padding: 40px;
}

/* Page title */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Board grid */
.board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Advertisement card */
.card {
    background: #ADD8E6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.card h2 {
    margin-top: 0;
}

.description {
    margin-bottom: 10px;
}

.meta {
    font-size: 14px;
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 14px;
}

/* Centering wrapper */
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Form container */
.form-container {
    background-color: #ADD8E6;
    padding: 30px 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-container input[type="text"],
.form-container input[type="password"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="number"],
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.form-container input[type="submit"]:hover {
    background: #4338ca;
}

.register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.register-link a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Registration form */
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.gender {
    margin-bottom: 15px;
}

.gender label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
}

/* Table style */
.table-wrapper {
    overflow-x: auto;
}

.moderation-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.moderation-table th,
.moderation-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.moderation-table th {
    background: #ADD8E6;
}

.inline-form {
    display: inline;
}

.approve-btn {
    padding: 6px 10px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.approve-btn:hover {
    background: #15803d;
}

.delete-btn {
    padding: 6px 10px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn:hover {
    background: #b91c1c;
}

.radio-group,
.checkbox-group {
    margin-bottom: 15px;
}

.radio-group label,
.checkbox-group label {
    display: inline;
    font-weight: normal;
    margin-right: 15px;
}

.radio-group input,
.checkbox-group input {
    margin-right: 5px;
}

.form-container textarea {
    min-height: 100px;
    resize: vertical;
} 