/* Editorial Tracker Common Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 600px;
}

/* Info Panel - Left Side */
.info-panel {
    flex: 1;
    background: linear-gradient(135deg, #002245 0%, #003366 100%);
    padding: 40px;
    color: #fff;
    overflow-y: auto;
    max-height: 700px;
}

.info-panel::-webkit-scrollbar {
    width: 8px;
}

.info-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.info-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.info-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.info-content {
    display: none;
}

.info-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-content h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #fff;
    border-bottom: 3px solid #F37039;
    padding-bottom: 10px;
}

.info-content h4 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #F37039;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.features-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F37039;
    font-weight: bold;
    font-size: 18px;
}

.workflow-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid #F37039;
}

.workflow-step p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.decision-type {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.decision-type strong {
    display: block;
    color: #F37039;
    margin-bottom: 8px;
    font-size: 16px;
}

.decision-type p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

/* Login Panel - Right Side */
.login-panel {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.page-title {
    text-align: center;
    color: #002245;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Tab Buttons */
.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #F37039;
    color: #F37039;
}

.tab-btn.active {
    background: linear-gradient(135deg, #F37039, #ff8c5a);
    color: #fff;
    border-color: #F37039;
}

/* Login Forms */
.login-form {
    display: none;
}

.login-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #002245;
    box-shadow: 0 0 0 3px rgba(0, 34, 69, 0.1);
}

.login-form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #002245, #003366);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #003366, #004488);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 34, 69, 0.3);
}

/* Error Messages */
.login-form .text-danger {
    display: block;
    color: #F37039;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Signup Links */
.author_signup,
.reviewer_signup {
    text-align: center;
    margin-top: 20px;
}

.author_signup a,
.reviewer_signup a {
    color: #002245;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.author_signup a:hover,
.reviewer_signup a:hover {
    color: #F37039;
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }
    
    .info-panel {
        max-height: 400px;
    }
    
    .login-panel {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .login-wrapper {
        border-radius: 15px;
    }
    
    .info-panel {
        padding: 30px 20px;
        max-height: 300px;
    }
    
    .login-panel {
        padding: 30px 20px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .info-content h3 {
        font-size: 22px;
    }
    
    .info-content h4 {
        font-size: 16px;
    }
    
    .logo img {
        max-width: 150px;
    }
}
