/* Phoenix Forum v2 - Default Theme CSS */

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

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    background: #F5F5F5;
    color: #000000;
}

.main-wrapper {
    margin: 20px auto;
    max-width: 1200px;
    background: #FFFFFF;
}

/* Header */
.header {
    background: #4A5F7F;
    color: #FFFFFF;
    padding: 10px;
}

.header-left {
    padding: 10px;
}

.header-left h1 {
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.header-right {
    text-align: right;
    padding: 10px;
    position: relative;
    color: #FFFFFF;
}

.header-right > a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.header-right > a:hover {
    background: rgba(255,255,255,0.2);
}

/* User Dropdown Menu */
.user-menu {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.user-trigger {
    cursor: pointer;
    padding: 5px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    color: #FFFFFF;
    display: block;
}

.user-trigger:hover {
    background: rgba(255,255,255,0.2);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 9999;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.user-menu:hover .user-dropdown {
    display: block !important;
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 12px;
    background: transparent !important;
    border-radius: 0 !important;
    white-space: nowrap;
}

.user-dropdown a:hover {
    background: #F0F0F0 !important;
    color: #4A5F7F !important;
}

.dropdown-divider {
    height: 1px;
    background: #E0E0E0;
    margin: 5px 0;
}

/* Navigation Menu */
.main-navigation {
    background: #E5E5E5;
    border-bottom: 1px solid #CCCCCC;
    padding: 8px 10px;
}

.main-navigation .nav-item {
    color: #2C5F8D;
    text-decoration: underline;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    background: transparent;
}

.main-navigation .nav-item:last-child {
    border-right: none;
}

.main-navigation .nav-item:hover {
    color: #CC0000;
}

/* Content */
.content {
    padding: 20px;
    min-height: 400px;
}

/* Forum Table */
.forum-table {
    background: #000000;
    border: 1px solid #000000;
}

.forum-header {
    background: #4A5F7F;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
}

.forum-header td {
    padding: 8px;
}

.forum-row {
    background: #FAFAFA;
}

.forum-row:hover {
    background: #EEEEEE;
}

.forum-row td {
    padding: 10px;
    border-bottom: 1px solid #DDDDDD;
}

.forum-title {
    font-weight: bold;
    font-size: 12px;
    color: #2C5F8D;
    text-decoration: none;
}

.forum-title:hover {
    text-decoration: underline;
}

.forum-description {
    color: #666666;
    margin-top: 5px;
    font-size: 10px;
}

.lastpost {
    font-size: 10px;
}

.lastpost a {
    color: #2C5F8D;
    text-decoration: none;
}

.lastpost a:hover {
    text-decoration: underline;
}

/* Info Section */
.info-section {
    margin-top: 15px;
    margin-bottom: 15px;
}

.info-table {
    background: #000000;
    border: 1px solid #000000;
    width: 100%;
}

.info-header {
    background: #4A5F7F;
    color: #FFFFFF;
    font-weight: bold;
    padding: 8px;
}

.info-row {
    background: #F7F7F7;
}

.info-row td {
    padding: 10px;
    border-bottom: 1px solid #E0E0E0;
    vertical-align: top;
}

.info-footer {
    background: #E8E8E8;
    padding: 8px;
}

.info-footer a {
    color: #FF8800;
    text-decoration: none;
    padding: 0 5px;
}

.info-footer a:hover {
    text-decoration: underline;
}

/* Stats Bar */
.stats-bar {
    margin-top: 15px;
    padding: 10px;
    background: #F0F0F0;
    border: 1px solid #CCCCCC;
    font-size: 11px;
}

/* Footer */
.footer {
    background: #4A5F7F;
    color: #FFFFFF;
    padding: 10px;
    font-size: 10px;
}

.footer td {
    padding: 10px;
}

/* Links */
a {
    color: #2C5F8D;
}

a:hover {
    color: #4A7BA7;
    text-decoration: underline;
}

/* Login/Register */
.login-table {
    margin: 50px auto;
    max-width: 600px;
    background: #000000;
    border: 1px solid #000000;
}

.error-box {
    background: #FFE5E5;
    border: 1px solid #CC0000;
    color: #CC0000;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.success-box {
    background: #E5FFE5;
    border: 1px solid #00AA00;
    color: #006600;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.btn-primary {
    background: #4A5F7F;
    color: #FFFFFF;
    padding: 8px 30px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
}

.btn-primary:hover {
    background: #3A4F6F;
}
