﻿@charset "UTF-8";

/* ==========================================================================
   1. FONTS & RESET
   ========================================================================== */
@font-face {
    font-family: 'PetroSans-Bold';
    src: url("fonts/PetroSans-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/PetroSans-Bold.woff") format("woff"), url("fonts/PetroSans-Bold.ttf") format("truetype"), url("fonts/PetroSans-Bold.svg#PetroSans-Bold") format("svg");
    font-weight: normal;
    font-style: normal;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

*, *:after, *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    outline: none;
}

body, input, textarea, select, option {
    font-family: 'Nunito', sans-serif;
}

/* ==========================================================================
   2. GENEL ELEMENTLER
   ========================================================================== */
form {
    width: 100%;
    height: 100%;
}

a {
    -webkit-transition: ease-in-out, all 0.3s;
    -moz-transition: ease-in-out, all 0.3s;
    transition: ease-in-out, all 0.3s;
    text-decoration: none;
    color: #575757;
}

    a img {
        border: none;
        outline: none;
    }

.clr {
    clear: both;
    height: 0;
}

::selection {
    background: #1faaaf;
    color: #fff;
}

::-moz-selection {
    background: #1faaaf;
    color: #fff;
}

::-webkit-input-placeholder {
    color: #fff;
}

:-moz-placeholder {
    color: #fff;
}

::-moz-placeholder {
    color: #fff;
}

:-ms-input-placeholder {
    color: #fff;
}

/* ==========================================================================
   3. CONTENT & BACKGROUND
   ========================================================================== */
.login {
    width: 100%;
    height: 100%;
    background-image: url("img/login.jpg");
    background-size: cover;
    background-position: center center;
    padding: 20px;
    /* Elemanları merkezde tutar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    /* ==========================================================================
   4. LOGOLAR (KUTUYLA SABİTLENDİ)
   ========================================================================== */

    /* Üst Logo */
    .login .logo {
        width: 100%;
        max-width: 250px;
        height: 120px;
        display: block;
        margin: 0 auto 15px auto;
        background: url('img/logo.png') center center no-repeat;
        background-size: contain;
        position: relative;
        border: none;
        flex-shrink: 0;
    }

    /* Alt Logo (Kutuyu takip etmesi için düzenlendi) */
    .login .flogo {
        max-width: 150px;
        width: 100%;
        height: 31px;
        background: url('img/logo/po_text_logo_red.png') center center no-repeat;
        background-size: contain;
        margin: 20px auto 0 auto; /* Kutu ile aradaki mesafeyi sabitler */
        position: relative;
        border: none;
        flex-shrink: 0;
    }

/* ==========================================================================
   5. LOGIN FORMU (BEYAZ KART)
   ========================================================================== */
.loginForm {
    background-color: white;
    padding: 25px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 10px 10px rgba(144, 2, 2, 0.2);
    transition: transform 300ms, box-shadow 300ms;
    z-index: 5;
    flex-shrink: 0;
}

    /* Kart İçindeki Dalgalanma Efekti */
    .loginForm::before, .loginForm::after {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        left: 50%;
        z-index: -1;
        border-radius: 40%;
    }

    .loginForm::before {
        bottom: -130%;
        background-color: rgba(255, 119, 119, 0.15);
        border: 1px solid rgba(213, 35, 35, 0.54);
        animation: wawes 6s infinite linear;
    }

    .loginForm::after {
        bottom: -125%;
        background-color: rgba(204, 27, 27, 0.17);
        border: 1px solid rgba(213, 35, 35, 0.54);
        animation: wawes 7s infinite linear;
    }

    /* Form Elemanları */
    .loginForm > input {
        font-family: "Asap", sans-serif;
        display: block;
        width: 100%;
        border-radius: 5px;
        font-size: 16px;
        background: #fff;
        border: 1px solid #ddd;
        padding: 10px;
        margin: 15px 0;
    }

    .loginForm .btn {
        display: block;
        width: 100%;
        background: #fff;
        border: 1px solid #eee;
        height: 40px;
        color: #737373;
        font-size: 14px;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 300ms;
    }

        .loginForm .btn:hover {
            background-color: #82d8ee;
            color: white;
        }

/* ==========================================================================
   6. ANIMASYONLAR & DIGER
   ========================================================================== */
@keyframes wawes {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

welcome {
    color: #575757;
}

.fRow {
    margin-top: 10px;
}

    .fRow label {
        display: none;
    }

a#Returnlogin {
    text-decoration: none;
    color: rgb(115, 115, 115);
    position: fixed;
    bottom: 10px;
    font-size: 12px;
}

/* ==========================================================================
   7. MEDIA QUERIES
   ========================================================================== */
@media screen and (max-width: 479px) {
    .loginForm {
        max-width: 90%;
    }

    .login .logo {
        max-width: 200px;
    }
}



@media (min-width: 1050px) and (max-width: 1281px) {
    .loginForm {
        top: 0% !important;
        left: 0% !important;
    }
}
@media (min-width: 780px) and (max-width: 1049px) {
    .loginForm {
        top: 0% !important;
        left: 0% !important;
    }
}