/*=============================================
    MediaPurple User Center Theme
    Violet + Neon Cyan Cyber Aesthetic
    For login/register/user center pages
===============================================*/

body {
    padding-top: 70px;
    padding-bottom: 30px;
    background: linear-gradient(135deg, #0F0A1E 0%, #1A1033 50%, #0F0A1E 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navbar */
.tc-user-navbar {
    background: rgba(15, 10, 30, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #7C3AED;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.tc-user-navbar .navbar-brand {
    color: #00F0FF !important;
    font-weight: 700;
    letter-spacing: 1px;
}
.tc-user-navbar .navbar-nav > li > a {
    color: #9D8BB4 !important;
    transition: color 0.3s ease;
}
.tc-user-navbar .navbar-nav > li > a:hover {
    color: #00F0FF !important;
}

/* Login/Register Card */
.tc-login-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(124, 58, 237, 0.1);
    margin-top: 40px;
    overflow: hidden;
}
.tc-login-card .login-description {
    background: linear-gradient(135deg, #7C3AED 0%, #00F0FF 100%);
    color: #fff;
    padding: 30px 20px;
    margin: -30px -30px 30px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}
.tc-login-icon {
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
}
.tc-login-card .login-description p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Form Controls */
.login .form-control {
    padding: 14.5px 16px;
    border-radius: 5px;
    border: 2px solid #e0e6ee;
    font-weight: 400;
    font-size: 14px;
    height: 47.8px;
    transition: all 0.3s ease;
}
.login .form-control:focus {
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.login .form-group {
    margin-bottom: 25px;
}
.login {
    background: #fff;
    padding: 30px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-top: 30px;
}
.login .message_code {}
.login .message_code input {
    width: 67%;
    float: left;
}
.login .message_code img {
    max-width: 33%;
    max-height: 47.8px;
    cursor: pointer;
    border-radius: 5px;
}

/* Buttons */
.tc-btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #00F0FF 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px;
    border-radius: 5px !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}
.tc-btn-primary:hover {
    background: #0F0A1E !important;
    color: #00F0FF !important;
    box-shadow: 0 6px 20px rgba(15, 10, 30, 0.4);
    transform: translateY(-2px);
}
.tc-btn-outline {
    background: transparent !important;
    border: 2px solid #7C3AED !important;
    color: #7C3AED !important;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px;
    border-radius: 5px !important;
    transition: all 0.3s ease;
}
.tc-btn-outline:hover {
    background: #7C3AED !important;
    color: #fff !important;
}

/* Sidebar */
.sidebar {
    overflow: hidden;
}
.nav-sidebar {
    margin-right: -21px;
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
    transition: all 0.3s ease;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background: linear-gradient(135deg, #7C3AED 0%, #00F0FF 100%);
}
.tc-sidebar .nav-sidebar > li > a {
    color: #2D3E50;
    border-left: 3px solid transparent;
}
.tc-sidebar .nav-sidebar > li > a:hover {
    background: rgba(124, 58, 237, 0.05);
    border-left-color: #7C3AED;
    color: #7C3AED;
}
.tc-sidebar .nav-sidebar > li > a i {
    margin-right: 8px;
}

.user_center {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
.main {
    padding-bottom: 50px;
    min-height: 600px;
    border-left: 1px solid #eef2f7;
}

/* Page Header */
.tc-page-header {
    border-bottom: 2px solid #7C3AED;
    padding-bottom: 15px;
}
.tc-page-header h1 {
    color: #0F0A1E;
    font-weight: 700;
}
.tc-page-header h1 i {
    color: #7C3AED;
    margin-right: 10px;
}

/* User Info Panel */
.tc-user-info-panel {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #F5F0FF 0%, #E8F8FF 100%);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}
.tc-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED 0%, #00F0FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}
.tc-user-avatar i {
    font-size: 40px;
    color: #fff;
}
.tc-user-email {
    font-size: 18px;
    font-weight: 600;
    color: #0F0A1E;
    margin-bottom: 8px;
}
.tc-label-grade {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
}

/* Tabs */
.tc-tabs {
    border-bottom: 2px solid #eef2f7;
    margin-bottom: 20px;
}
.tc-tabs > li > a {
    color: #2D3E50;
    font-weight: 500;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease;
}
.tc-tabs > li > a:hover {
    color: #7C3AED;
    border-bottom-color: #00F0FF !important;
    background: transparent !important;
}
.tc-tabs > li.active > a {
    color: #7C3AED !important;
    border: none !important;
    border-bottom: 3px solid #7C3AED !important;
    background: transparent !important;
}
.tc-tab-content {
    padding: 20px 0;
}

/* Form Input Groups */
.dd_input_l {
    padding: 8px 15px;
    height: 38px;
    line-height: 20px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px 0 0 2px;
    text-align: center;
    background-color: #FBFBFB;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
    border-color: #d2d6de;
    margin: 0;
    border-right: 0;
    font-weight: normal;
}
.dd_input_2 { padding: 0 }
.dd_input_2 input { width: 100% !important }
.dd_input_group .dd_radio_lable_left {
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: #d2d6de;
    height: 38px;
    overflow: hidden;
}
.dd_input_group { padding: 6px 0; }
.dd_input_3 label { line-height: 38px; }

.dd_input_group input,
.dd_input_group select,
.ldd_input_group textarea {
    height: 38px;
    line-height: 1.3;
    line-height: 38px\9;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    border-radius: 2px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.form-group { width: 100%; }
.tab-content { padding: 20px 0; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav > li {
        float: left;
    }
    .navbar-nav { float: right; }
    .navbar-header { float: left; }
    .main { border: none; }
    .tc-user-info-panel {
        flex-direction: column;
        text-align: center;
    }
    .tc-user-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
