/* ============================================
   Login Page - Common Author Area Design
   Sadece common_author_area için özel tasarım
   ============================================ */

/* Login Page Container */
#common_author_area {
    min-height: calc(100vh - 200px);
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

#common_author_area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

#common_author_area .container {
    position: relative;
    z-index: 1;
}

/* Login Card */
.common_author_boxed {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.common_author_boxed:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px);
}

/* Login Header */
.common_author_heading {
    text-align: center;
    margin-bottom: 40px;
}

.common_author_heading h3 {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.common_author_heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Form Styling */
.common_author_form {
    margin-top: 30px;
}

.common_author_form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.common_author_form .form-control {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    transition: all 0.3s ease;
    color: #2d3748;
    font-weight: 500;
}

.common_author_form .form-control:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.common_author_form .form-control::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Input Icons */
.common_author_form .form-group:first-of-type::before {
    content: '✉';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #667eea;
    z-index: 2;
    pointer-events: none;
}

.common_author_form .form-group:nth-of-type(2)::before {
    content: '🔒';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #667eea;
    z-index: 2;
    pointer-events: none;
}

/* Forgot Password Link */
.common_author_form > div:nth-of-type(3) {
    text-align: right;
    margin-bottom: 30px;
    margin-top: -10px;
}

.common_author_form > div:nth-of-type(3) a {
    color: #667eea !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.common_author_form > div:nth-of-type(3) a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.common_author_form > div:nth-of-type(3) a:hover::after {
    width: 100%;
}

.common_author_form > div:nth-of-type(3) a:hover {
    color: #764ba2 !important;
}

/* Submit Button */
.common_form_submit {
    margin-top: 10px;
}

.common_author_form .btn_theme {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.common_author_form .btn_theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.common_author_form .btn_theme:hover::before {
    left: 100%;
}

.common_author_form .btn_theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.common_author_form .btn_theme:active {
    transform: translateY(0);
}

/* Register Link */
.common_author_form .text-center.mt-3 {
    margin-top: 30px !important;
    text-align: center;
}

.common_author_form .text-center.mt-3 p {
    color: #718096;
    font-size: 15px;
    margin-bottom: 0;
}

.common_author_form .text-center.mt-3 a {
    color: #667eea !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.common_author_form .text-center.mt-3 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.common_author_form .text-center.mt-3 a:hover::after {
    width: 100%;
}

.common_author_form .text-center.mt-3 a:hover {
    color: #764ba2 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .common_author_boxed {
        padding: 40px 30px;
        margin: 0 15px;
    }

    .common_author_heading h2 {
        font-size: 26px;
    }

    .common_author_heading h3 {
        font-size: 12px;
    }

    .common_author_form .form-control {
        padding: 14px 18px 14px 45px;
        font-size: 15px;
    }

    .common_author_form .btn_theme {
        padding: 14px 25px;
        font-size: 15px;
    }

    #common_author_area {
        padding: 50px 0 !important;
    }
}

@media (max-width: 576px) {
    .common_author_boxed {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .common_author_heading h2 {
        font-size: 22px;
    }

    .common_author_form .form-control {
        padding: 12px 16px 12px 40px;
    }
}

/* Loading State */
.common_author_form .btn_theme:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Error States */
.common_author_form .form-control.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.common_author_form .form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

/* Success States */
.common_author_form .form-control.success {
    border-color: #48bb78;
    background: #f0fff4;
}

