/* Galaxy Decay - Modern Login & Register Page Styles */
/* Updated original styles.css with modern flexbox layout and Galaxy Decay theming */

/* Body - Modern flexbox centering with Galaxy Decay background */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background: #000000 url(../images/gd.png) center center / cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    overflow: visible; /* Override any inline overflow: hidden */
}

/* Override the center tag wrapper */
body > center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    text-align: left;
}

/* Main container - Modern flexbox layout */
#main {
    background-image: none;
    background-color: transparent;
    background-repeat: no-repeat;
    width: auto;
    height: auto;
    position: static;
    margin: 0;
    left: auto;
    top: auto;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    z-index: auto;
}

/* Login section - Modern card design */
#login {
    position: static;
    left: auto;
    top: auto;
    flex: 0 0 auto;
    width: 350px;
    height: auto;
    z-index: auto;
}

#login_input {
    position: static;
    left: auto;
    top: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    height: auto;
}

#login_input:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

#login_input table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

#login_input td {
    padding: 0;
    vertical-align: top;
}

#login_input a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#login_input a:hover {
    color: #ffa500;
    text-decoration: underline;
}

/* Right menu - Modern card design */
.rightmenu, .rightmenu_big, .rightmenu_register {
    position: static;
    left: auto;
    top: auto;
    flex: 0 0 auto;
    width: 450px;
    height: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 25px;
    box-sizing: border-box;
    z-index: auto;
}

/* Unified form specific styling */
#unified_form {
    transition: all 0.3s ease;
}

#unified_form:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

#login_section {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

#login_section input[type="text"], 
#login_section input[type="password"] {
    margin-bottom: 15px;
}

#login_section label {
    color: #b8c5d6;
    font-size: 14px;
}

/* Title - Galaxy Decay theming */
#title {
    position: static;
    left: auto;
    top: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

/* Content area */
#content {
    position: static;
    left: auto;
    top: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #b8c5d6;
    text-align: left;
    width: 100%;
}

#contentscroll {
    overflow: auto;
    height: auto;
    max-height: 400px;
    width: 100%;
    padding-right: 10px;
}

/* Register button - Modern gradient design */
#register, .bigbutton {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 15px 25px;
    background: linear-gradient(135deg, #ffa500, #cc8400);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 15px 0;
    box-sizing: border-box;
    word-wrap: break-word;
}

#register:hover, .bigbutton:hover {
    background: linear-gradient(135deg, #ff9500, #bb7700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    color: #ffffff;
}

/* Text sections */
#text2 {
    position: static;
    left: auto;
    top: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #b8c5d6;
    text-align: left;
    width: 100%;
    margin: 15px 0;
}

/* Copyright */
#copyright {
    position: static;
    left: auto;
    top: auto;
    font-size: 12px;
    color: #888;
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

/* Hide footer navigation - redundant with form links */
body > center > div[style*="background-color: #000000"] {
    display: none;
}

/* Form inputs - Modern styling */
input[type="text"], input[type="password"], input[type="email"], .eingabe {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: #ffffff;
    padding: 10px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, .eingabe:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* Submit buttons */
input[type="submit"] {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    padding: 12px 25px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #00b8e6, #0088bb);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* Checkboxes */
input[type="checkbox"] {
    accent-color: #00d4ff;
    margin-right: 8px;
}

/* Links - Global styling */
a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffa500;
    text-decoration: underline;
}

/* Register page specific styles */
#register_container {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    padding: 20px 0;
}

#register_submit {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    padding: 15px;
    height: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 20px 0;
}

#register_submit:hover {
    background: linear-gradient(135deg, #00b8e6, #0088bb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    color: #ffffff;
}

#infotext, #statustext {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    margin: 15px 0;
}

/* Table styling */
table {
    text-align: right;
    color: #b8c5d6;
    font-size: 14px;
    width: 100%;
}

td .eingabe {
    width: 100%;
    text-align: left;
    max-width: 200px;
}

/* Status colors */
.warning {
    color: #ff6b6b;
}

.fine {
    color: #51cf66;
}

.register_agb {
    color: #b8c5d6;
    transition: color 0.3s ease;
}

.register_agb:hover {
    color: #ffffff;
}

.headline {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #00d4ff;
    margin: 20px 0;
}

/* Mobile responsive design */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding: 15px;
    }
    
    body > center {
        align-items: flex-start;
    }
    
    #main {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        max-width: 500px;
    }
    
    #login, .rightmenu, .rightmenu_big, .rightmenu_register {
        width: 100%;
        max-width: none;
    }
    
    #title {
        font-size: 20px;
    }
    
    body > center > div[style*="background-color: #000000"] {
        position: static;
        transform: none;
        margin-top: 25px;
        text-align: center;
        border-radius: 10px;
    }
}

/* Additional elements - maintain compatibility */
#mainmenu, #login_text_1, #login_text_2, #downmenu, .image, .menupoint, .link, .products, #headerselect, .iframe, .loginButton, .bildUeberschrift, #unis_content, #unis_title2, #closed_uni, #uni_infos_link, #uni_label, .table_lable, .table_input, #table_agb, #agb_zeile, .gimmik_1, .gimmik_2 {
    /* These maintain their original styles for compatibility with other pages */
}