/* Corporate Login Page Styles */

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.corporate-login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sol Taraf - Görsel ve Yazılar (Tam Ekran) */
.login-visual-section {
    flex: 1;
    background: linear-gradient(135deg, #052354 0%, #0a3d7a 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.login-visual-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.login-visual-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
}

/* Modern İllüstrasyon Stili */
.visual-illustration-modern {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto 2rem;
}

.illustration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4dc9f6 0%, #667eea 100%);
    top: 0;
    left: 0;
    animation: pulse 4s ease-in-out infinite;
}

.circle-2 {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 45px;
    left: 45px;
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.circle-3 {
    width: 170px;
    height: 170px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 90px;
    left: 90px;
    animation: pulse 2s ease-in-out infinite 1s;
}

.illustration-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.illustration-icon-wrapper .main-icon {
    font-size: 8rem;
    color: #4dc9f6;
    filter: drop-shadow(0 10px 30px rgba(77, 201, 246, 0.4));
    animation: float 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-element i {
    font-size: 1.6rem;
    color: white;
}

.element-1 {
    top: 15%;
    left: 8%;
    animation: floatAround 6s ease-in-out infinite;
}

.element-2 {
    top: 65%;
    right: 8%;
    animation: floatAround 5s ease-in-out infinite 1s;
}

.element-3 {
    bottom: 18%;
    left: 12%;
    animation: floatAround 7s ease-in-out infinite 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.visual-text {
    color: white;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.visual-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.visual-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

.visual-illustration {
    margin-bottom: 2rem;
}

.visual-illustration img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.visual-illustration i {
    font-size: 8rem;
    color: #4dc9f6;
    filter: drop-shadow(0 5px 15px rgba(77, 201, 246, 0.3));
}

.visual-title {
    color: white;
    margin-bottom: 0.5rem;
}

.visual-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem 0 0.5rem 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.visual-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.visual-footer {
    position: relative;
    z-index: 2;
}

.feature-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-badge i {
    font-size: 2.2rem;
    color: #4dc9f6;
    display: block;
    margin-bottom: 0.65rem;
}

.feature-badge span {
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
}

.company-info {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Sağ Taraf - Form (Tam Ekran) */
.login-form-section {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5rem;
    overflow-y: auto;
}

/* Brand Logo */
.brand-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}

.brand-logo img {
    max-width: 200px;
    height: auto;
    transition: all 0.3s ease;
}

.brand-logo img:hover {
    transform: scale(1.05);
}

.login-form-header {
    margin-bottom: 3rem;
}

.login-form-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #052354;
    margin-bottom: 0.75rem;
}

.login-form-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.login-form-section .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.login-form-section .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form-section .form-control:focus {
    border-color: #052354;
    box-shadow: 0 0 0 0.25rem rgba(5, 35, 84, 0.1);
}

.login-form-section .auth-pass-inputgroup {
    position: relative;
}

.login-form-section .auth-pass-inputgroup .form-control {
    padding-right: 3.5rem;
}

.login-form-section .auth-pass-inputgroup .password-addon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    padding: 0.5rem;
    cursor: pointer;
}

.login-form-section .btn-primary {
    background: linear-gradient(135deg, #052354 0%, #0a3d7a 100%);
    border: none;
    border-radius: 12px;
    padding: 1.1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(5, 35, 84, 0.25);
}

.login-form-section .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 35, 84, 0.35);
}

.login-form-section .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-form-section .alert-danger {
    background-color: #fff5f5;
    color: #c53030;
    border: none;
    border-left: 4px solid #c53030;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}

.social-links-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.social-links-section p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links .btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links .btn-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Logo Partnership Banner */
.logo-partnership-banner {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.partnership-badge {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.partnership-badge:hover {
    transform: none;
    box-shadow: none;
}

.partnership-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
}

.logo-partner-image {
    height: 24px;
    width: auto;
    vertical-align: middle;
    filter: grayscale(20%);
    opacity: 0.9;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsive - Mobilde sadece form görünsün */
@media (max-width: 991.98px) {
    body {
        overflow: auto;
    }

    .corporate-login-wrapper {
        display: block;
        height: auto;
        min-height: 100vh;
    }

    /* Sol tarafı tamamen gizle */
    .login-visual-section {
        display: none;
    }

    /* Form tam ekran olsun */
    .login-form-section {
        width: 100%;
        min-height: 100vh;
        padding: 2.5rem 1.5rem;
    }

    .login-form-header h3 {
        font-size: 2rem;
    }

    .login-form-header p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .login-form-section {
        padding: 2rem 1.25rem;
    }

    .login-form-header h3 {
        font-size: 1.75rem;
    }

    .feature-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partnership-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .partnership-badge span {
        font-size: 0.9rem;
    }

    .logo-partner-image {
        height: 28px;
    }
}
