
.login-main {
    min-height: calc(100vh - 195px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #ffffff;
}

.night-mode .login-main {
    background: #1a1a1a;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.night-mode .login-container {
    background: #2d2d2d;
}

.illustration-section {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.night-mode .illustration-section {
    background: #1a1a1a;
}

.illustration-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.form-section {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 304px;
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #4ECDC4;
    text-align: center;
}

.night-mode .form-title {
    color: #4ECDC4;
}

.login-form {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 304px;
    height: 52px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.night-mode .input-group input {
    background: #333;
    border-color: #555;
    color: #e0e0e0;
}

.input-group input:focus {
    outline: none;
    border-color: #4ECDC4;
}

.verification-group {
    margin-bottom: 20px;
}

.verification-input-wrapper {
    display: flex;
    align-items: center;
    width: 304px;
    height: 52px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.night-mode .verification-input-wrapper {
    background: #333;
    border-color: #555;
}

.verification-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    background: transparent;
}

.verification-input-wrapper input:focus {
    outline: none;
}

.verification-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    color: #4ECDC4;
}

.night-mode .verification-btn {
    color: #4ECDC4;
    border-left-color: #555;
}

.verification-btn:hover:not(:disabled) {
    opacity: 0.8;
}

.verification-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    color: #999;
}

.login-submit-btn {
    width: 304px;
    height: 46px;
    padding: 0;
    background: linear-gradient(270deg, #A3E2A2 0%, #22B3A6 100%);
    color: white;
    border: none;
    border-radius: 23px 23px 23px 23px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.login-submit-btn:hover {
    opacity: 0.9;
}

.other-login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.night-mode .divider-line {
    background: #444;
}

.divider-text {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.night-mode .divider-text {
    color: #999;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-login-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
}

.social-login-item span {
    font-size: 13px;
    color: #333;
}

.night-mode .social-login-item span {
    color: #e0e0e0;
}

.agreement-section {
    margin-bottom: 0;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.agreement-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
}

.night-mode .checkbox-custom {
    border-color: #555;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: #4ECDC4;
    border-color: #4ECDC4;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.agreement-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.night-mode .agreement-text {
    color: #999;
}

.terms-link {
    color: #1a73e8;
    text-decoration: underline;
}

.terms-link:hover {
    color: #1557b0;
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .illustration-section {
        display: none;
    }
    
    .form-section {
        padding: 40px 30px;
    }
}
