.init-loader {
    text-align: center;
}

.cssload-loader {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    perspective: 900px;
    margin: 40px auto 0;
}

.cssload-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.cssload-inner.cssload-one {
    left: 0;
    top: 0;
    animation: cssload-rotate-one 1.15s linear infinite;
    -o-animation: cssload-rotate-one 1.15s linear infinite;
    -ms-animation: cssload-rotate-one 1.15s linear infinite;
    -webkit-animation: cssload-rotate-one 1.15s linear infinite;
    -moz-animation: cssload-rotate-one 1.15s linear infinite;
    border-bottom: 5px solid #f58400;
}

.cssload-inner.cssload-two {
    right: 0;
    top: 0;
    animation: cssload-rotate-two 1.15s linear infinite;
    -o-animation: cssload-rotate-two 1.15s linear infinite;
    -ms-animation: cssload-rotate-two 1.15s linear infinite;
    -webkit-animation: cssload-rotate-two 1.15s linear infinite;
    -moz-animation: cssload-rotate-two 1.15s linear infinite;
    border-right: 5px solid #f58400;
}

.cssload-inner.cssload-three {
    right: 0;
    bottom: 0;
    animation: cssload-rotate-three 1.15s linear infinite;
    -o-animation: cssload-rotate-three 1.15s linear infinite;
    -ms-animation: cssload-rotate-three 1.15s linear infinite;
    -webkit-animation: cssload-rotate-three 1.15s linear infinite;
    -moz-animation: cssload-rotate-three 1.15s linear infinite;
    border-top: 5px solid #f58400;
}

@keyframes cssload-rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@-o-keyframes cssload-rotate-one {
    0% {
        -o-transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        -o-transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@-ms-keyframes cssload-rotate-one {
    0% {
        -ms-transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        -ms-transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@-webkit-keyframes cssload-rotate-one {
    0% {
        -webkit-transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@-moz-keyframes cssload-rotate-one {
    0% {
        -moz-transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        -moz-transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes cssload-rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@-o-keyframes cssload-rotate-two {
    0% {
        -o-transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        -o-transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@-ms-keyframes cssload-rotate-two {
    0% {
        -ms-transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        -ms-transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@-webkit-keyframes cssload-rotate-two {
    0% {
        -webkit-transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@-moz-keyframes cssload-rotate-two {
    0% {
        -moz-transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        -moz-transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes cssload-rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

@-o-keyframes cssload-rotate-three {
    0% {
        -o-transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        -o-transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

@-ms-keyframes cssload-rotate-three {
    0% {
        -ms-transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        -ms-transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

@-webkit-keyframes cssload-rotate-three {
    0% {
        -webkit-transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

@-moz-keyframes cssload-rotate-three {
    0% {
        -moz-transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        -moz-transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

/* Login form styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

.login-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-panel {
    width: 400px;
    box-shadow: 0 12px 15px 0 rgba(0,0,0,.24), 0 17px 50px 0 rgba(0,0,0,.19);
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.login-header {
    padding: 20px 30px;
    background-color: #f58400;
    color: #fff;
    position: relative;
}

.login-header h1 {
    font-size: 1.125em;
    font-weight: 700;
    margin: 0;
    outline: none;
}

.login-header h2 {
    font-size: .875em;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 0;
    outline: none;
}

.login-header img {
    width: 64px;
    position: absolute;
    top: 24px;
    right: 30px;
}

.login-form {
    padding: 30px 0 0;
    background: #fff;
}

.form-group {
    padding: 20px 70px;
    position: relative;
}

.form-group label {
    font-weight: 400;
    position: absolute;
    pointer-events: none;
    left: 70px;
    top: 50%;
    margin-top: -0.5em;
    transition: 0.3s ease all;
    color: #898989;
    line-height: 1;
}

.form-group input {
    border: 0;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 0;
    transition: border-color 0.3s;
    width: 100%;
    font-size: 1em;
    padding: 0.25em 0;
    background: transparent;
    box-sizing: border-box;
}

.form-group input:focus {
    box-shadow: none;
    border-bottom: 2px solid #f58400;
    outline: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -0.75em;
    font-size: 12px;
}

.checkbox-group {
    padding: 20px 70px;
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.button-panel {
    padding: 0 70px 20px;
    margin-bottom: 20px;
}

.login-button {
    width: 100%;
    height: 35px;
    background-color: #007ad9;
    border: 1px solid #007ad9;
    color: white;
    font-size: 1em;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #0056b3;
}

.login-error {
    text-align: center;
    font-size: 0.75em;
    color: #8b0000;
    padding: 10px 70px;
}

@media (max-width: 560px) {
    .login-panel {
        width: 90%;
    }
    .form-group,
    .checkbox-group,
    .button-panel {
        padding-left: 35px;
        padding-right: 35px;
    }
    .form-group label {
        left: 35px;
    }
}

/* Demo credentials styles */
.demo-credentials {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px;
    margin-top: 20px;
}

.demo-credentials h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 0.9em;
}

.demo-credentials p {
    margin: 5px 0;
    font-family: monospace;
    font-size: 0.85em;
    color: #6c757d;
}

/* Console styles */
.console-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.console-header {
    background: #2d2d30;
    padding: 15px 20px;
    border-bottom: 1px solid #464647;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.logout-button {
    background: #007acc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background: #005a9e;
}

.console-content {
    padding: 20px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.console-content h2 {
    color: #4ec9b0;
    margin-bottom: 10px;
}

.console-content p {
    margin: 10px 0;
    line-height: 1.4;
}

.console-terminal {
    margin-top: 30px;
    background: #1e1e1e;
    border: 1px solid #464647;
    border-radius: 4px;
    overflow: hidden;
}

.terminal-header {
    background: #2d2d30;
    padding: 8px 15px;
    border-bottom: 1px solid #464647;
    font-size: 0.9em;
    color: #cccccc;
}

.terminal-content {
    padding: 15px;
    min-height: 200px;
}

.terminal-line {
    margin: 5px 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #d4d4d4;
}

.terminal-cursor {
    color: #4ec9b0;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
