/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Layout and common styles */
.scene2go-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.scene2go-content {
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.scene2go-header {
    margin-bottom: 20px;
    text-align: center;
}

.scene2go-header h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
}

.scene2go-message {
    margin-bottom: 20px;
    color: #454545;
    font-size: 16px;
    line-height: 1.5;
}

.scene2go-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #454545;
}

.scene2go-button {
    background-color: #4097db;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.scene2go-button:hover,
.scene2go-button:focus {
    background-color: #3378AF;
    color: #fff;
}

.scene2go-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.scene2go-button.secondary {
    background-color: #f1f1f1;
    color: #454545;
    border: 1px solid #ccc;
    border-radius: 0;
}

.scene2go-button.secondary:hover,
.scene2go-button.secondary:focus {
    background-color: #e5e5e5;
    color: #454545;
}

.scene2go-alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 0;
    display: none;
}

.scene2go-alert.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.scene2go-alert.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.scene2go-alert.info {
    color: #0c5460;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
}

/* Login form */
.scene2go-login-form {
    max-width: 400px;
    margin: 0 auto;
}

.scene2go-form-group {
    margin-bottom: 20px;
}

.scene2go-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #454545;
}

.scene2go-form-group input[type="email"],
.scene2go-form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
}

.scene2go-form-group input[type="email"]:focus,
.scene2go-form-group input[type="text"]:focus {
    border-color: #4097db;
    outline: none;
    box-shadow: 0 0 5px rgba(64, 151, 219, 0.3);
}

.scene2go-form-help {
    font-size: 13px;
    color: #454545;
    margin-top: 5px;
}

.scene2go-form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scene2go-login-steps {
    margin-bottom: 20px;
}

.scene2go-login-step {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.scene2go-login-step-number {
    width: 28px;
    height: 28px;
    background-color: #f1f1f1;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.scene2go-login-step-text {
    flex: 1;
    color: #454545;
}

.scene2go-login-step.active .scene2go-login-step-number {
    background-color: #4097db;
    color: #fff;
}

/* Projects list */
.scene2go-projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scene2go-project {
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.scene2go-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scene2go-project a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
}

.scene2go-project-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: #4097db;
}

.scene2go-project-meta {
    font-size: 14px;
    color: #454545;
}

.scene2go-project-meta span {
    margin-right: 15px;
}

.scene2go-project-notes {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    font-size: 14px;
    line-height: 1.5;
    color: #454545;
}

.scene2go-project-notes p {
    margin: 0 0 10px;
}

.scene2go-project-notes p:last-child {
    margin-bottom: 0;
}

.scene2go-user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.scene2go-user-email {
    font-weight: 600;
    color: #454545;
}

.scene2go-logout {
    text-decoration: none;
    color: #4097db;
    font-size: 14px;
    font-weight: 600;
}

.scene2go-logout:hover {
    text-decoration: underline;
}

.scene2go-no-projects,
.scene2go-no-search-results {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    color: #454545;
}

/* Search */
.scene2go-search-container {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.scene2go-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    box-sizing: border-box;
}

.scene2go-search-input:focus {
    border-color: #4097db;
    outline: none;
    box-shadow: 0 0 5px rgba(64, 151, 219, 0.3);
}

/* Viewer page */
.scene2go-viewer-container {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.scene2go-viewer-toolbar {
    position: absolute;
    top: 1px;
    right: 165px;
    z-index: 1000000;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scene2go-viewer-toolbar a {
    margin-left: 10px;
    color: #4097db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.scene2go-viewer-toolbar a:hover {
    text-decoration: underline;
}

.scene2go-viewer-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.scene2go-viewer-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #4097db;
    border-radius: 0;
    width: 50px;
    height: 50px;
    animation: scene2go-spin 2s linear infinite;
    margin-bottom: 20px;
}

@keyframes scene2go-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scene2go-viewer-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
