* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit";
}

body {
    background-color: #000;
    color: #fff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 15px 50px;
    border-bottom: 1px solid #333;
}

.blur {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.logo span {
    color: #ff0044;
    font-weight: bold;
    font-size: 20px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-item {
    cursor: pointer;
    position: relative;
}

.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff0044;
    text-decoration: none;
}

.nav-link {
    color: #fff;
    text-decoration: none;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.user-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dashboard-container {
    width: 100%;
    display: flex;
    padding: 20px 50px;
    gap: 20px;
}

.dashboard-sidebar {
    width: 300px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    border: 2px inset red;
    height: calc(90vh - 70px);
    border-radius: 10px;
    position: sticky;
    overflow-y: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dashboard-sidebar::-webkit-scrollbar {
    display: none;
}

.dashboard-sidebar {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-snap-points-y: repeat(100%);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}


.main-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.82);
    border: 2px inset red;
    border-radius: 10px;
    padding: 20px;
    height: calc(90vh - 70px);
    text-decoration: none;
    color: #fff;
    overflow-y: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid transparent;
}

.profile-icon {
    width: 40px;
    height: 40px;
    background-color: black;
    border: 2px solid #ff0044;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile-stats {
    margin-top: 20px;
    text-align: center;
}

.stat-item {
    background-color: transparent;
    border: 2px solid #ff0044;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.profile-action {
    margin-top: 30px;
    text-decoration: none;
    padding: 10px;

    :hover {
        text-decoration: none;
        color: #fff;
    }
}

.action-title {
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    border-bottom: red 2px solid;
    padding-bottom: 5px;
}

.action-btn {
    background-color: transparent;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    color: #fff;
}

.action-btn:hover {
    background-color: #3333338e;
    text-decoration: none;
}

.action-btn.primary {
    background-color: #ff0044;
    color: white;
}

.action-btn.primary:hover {
    background-color: #d10038;
}

.action-btn.logout {
    background-color: #550022;
    color: #ff6688;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #888;
}

.form-input {
    width: 100%;
    padding: 12px;
    background-color: #3333338e;
    border: 2px solid #444;
    color: #fff;
    border-radius: 6px;
    color: white;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff0044;
}


.required::after {
    content: ' *';
    color: #ff0044;
}

.submit-btn {
    background-color: #0088ff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #0077dd;
    text-decoration: none;
}

.hidden {
    display: none;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 18px;
}

.info-box {
    background-color: #222;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 3px solid #0088ff;
}

.info-box.warning {
    border-left-color: #ff8800;
}

.info-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #0088ff;
}

.info-box.warning .info-title {
    color: #ff8800;
}

.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.visible {
    display: block !important;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1.5s forwards;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.error-message {
    color: red;
    font-weight: bold;
    animation: shake 0.8s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}