body {
    background-color: #0A0907;
    color: #F0EBE0;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #080705;
    border-bottom: 1px solid #2C2618;
    padding: 0 30px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

header {
    background-color: transparent;
    padding: 15px 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 320px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    flex-wrap: wrap;
}

nav a {
    color: #C9A84C;
    text-decoration: none;
    padding: 12px 18px;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background-color: #C9A84C;
    color: #080705;
}

@media screen and (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        padding: 0;
        border-bottom: none;
    }

    header {
        background-color: #080705;
        padding: 16px;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .logo {
        width: 280px;
    }

    nav {
        background-color: #161310;
        padding: 5px;
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid #2C2618;
        box-sizing: border-box;
    }

    nav a {
        padding: 5px 10px;
        font-size: 15px;
    }
}

.forex-ticker {
    background-color: #0E0C09;
    color: #C9A84C;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #2C2618;
    letter-spacing: 0.3px;
}

.ticker-content {
    display: inline-block;
    text-align: center;
}

.hero {
    text-align: center;
    padding: 30px;
    background-color: #0A0907;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

.dashboard-container, .login-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #1E1A14;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 168, 76, 0.08);
    border-radius: 8px;
    text-align: center;
    border: 1px solid #2C2618;
}

.login-container {
    max-width: 400px;
    margin: 60px auto;
    padding: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: center;
    border: 1px solid #2C2618;
    color: #F0EBE0;
}

th {
    background-color: #120F0B;
    font-weight: bold;
    color: #C9A84C;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
}

tr:nth-child(even) td {
    background-color: #120F0B;
}

tr:hover td {
    background-color: #231E16;
}

.expired {
    color: #EF4444;
    font-weight: bold;
}

input[type="text"], input[type="email"], input[type="password"] {
    display: block;
    width: 90%;
    padding: 12px;
    margin: 10px auto;
    border: 1px solid #2C2618;
    border-radius: 6px;
    font-size: 16px;
    background-color: #120F0B;
    color: #F0EBE0;
    box-sizing: border-box;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder {
    color: #5A5040;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #C9A84C;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.18);
}

.btn {
    background-color: #C9A84C;
    color: #080705;
    padding: 12px 24px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #A8892A;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
}

.btn-renew {
    background-color: #C9A84C;
    color: #080705;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    transition: background 0.3s ease;
    font-weight: bold;
}

.btn-renew:hover {
    background-color: #A8892A;
}

.reset-password-container {
    max-width: 400px;
    margin: 100px auto;
    background: #1E1A14;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 168, 76, 0.08);
    border: 1px solid #2C2618;
}

.success {
    color: #34D399;
    font-size: 14px;
    margin-top: 10px;
}

.error {
    color: #EF4444;
    font-size: 14px;
    margin-top: 10px;
}

.forgot-password {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #C9A84C;
    font-style: italic;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #A8892A;
}

.content {
    text-align: center;
    padding: 40px;
}

footer {
    background-color: #080705;
    color: #8A8070;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    border-top: 1px solid #2C2618;
}

footer a {
    text-decoration: none;
    color: #C9A84C;
}

footer a:hover {
    text-decoration: underline;
    color: #A8892A;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
