@tailwind base;
@tailwind components;
@tailwind utilities;

[x-cloak] {
    display: none;
}


body{

    background-image: url('storage/images/sun.jpg');
    background-size: cover; /* Ensures the image covers the whole area */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    /*pmr*/
    background-attachment: fixed;  /* Keep background steady on scroll*/
    /* Center the container perfectly on any screen */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px; /* Prevents container from touching screen edges */
    /* Fix for mobile Safari height issues */
    min-height: -webkit-fill-available;
    
}

html {
    height: -webkit-fill-available;
}/*pmr*/

.container{
    /*position: relative;
    display: flex;
    left: 20%;
    top: 7rem;
    width: 900px;
    height: 500px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(15px);*/
    /*pmr*/
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    width: fit-content; 
    max-width: 900px; /* Maximum width on large screens */
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    overflow: hidden; /* Keeps child border-radius clean */
    /* Apple Safari compatibility for Blur */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    overflow: hidden;
    margin: auto;
}

/* Switch to horizontal on tablets and desktops */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        height: 500px;
    }
}/*pmr*/


.column1{
    /*display: flex;
    flex-direction: column;
    width: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);*/
    border-radius: 14px 30%  20% 14px;
    
    /*pmr*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
}

@media (min-width: 768px) {
    .column1 {
        width: 45%;
        border-radius: 0 50% 50% 0; /* Keep your unique design style */
    }
}/*pmr*/

.logo{
    /*scale: 0.6;
    top: 6rem;
    position: relative;*/
    
    /*pmr*/
    max-width: 100%;
    height: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
   
}


.column2{
    /*display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Segoe UI;
    font-size: 1.5rem;
    font-weight: 400;
    width: 60%;*/
    
    /*pmr*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    padding:30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (min-width: 768px) {
    .column2 {
        width: 55%;
    }
}/*pmr*/

.title{
    /*position: relative;
    margin-bottom: 30px;*/
    
    /*pmr*/
    font-size: clamp(1.2rem, 5vw, 1.8rem); /* Fluid typography: gets smaller on tiny screens */
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    color: #2a0131;
    
}


.form{
    /*width:70%;*/
    
    /*pmr*/
    width: 100%;
    max-width: 300px; /* Limits form width for better readability */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between inputs */
}

.form-group {
    margin-top: 15px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input {
   width: 100%;
    height: 46px; /* Optimized for thumb-tapping */
    padding: 0 15px;
    margin-bottom: 15px;
    color: #78028d;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 16px; /* Essential: prevents iOS auto-zoom */
    -webkit-appearance: none; /* Removes default iPhone input shadows */
}

.input:focus {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(120, 2, 141, 0.3);
}

.btn {
    width: 100%;
    height: 48px;
    background: #4d0076;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    background: #66019d;
    transform: translateY(-1px);
}

/* Tiny screen adjustments (e.g. Galaxy Fold) */
@media (max-width: 300px) {
    .column1, .column2 {
        padding: 1rem;
    }
    .logo { transform: scale(0.6); }
}

/**/

/*

@media (max-width: 500px){
    .container{
    left: 0;
    top: 1rem;
    flex-direction: column;
    width: 100%;
    }

    .column1{
        width: 100%;
        height: 30%;
        border-radius: 20%  20% 0 0;
    }

    .column2{
        width: 100%;
        position: relative;
        top: 3rem;
        
    }

    .logo{
        top: -3rem;
        scale: 0.5;
    }

    .title{
        scale: 0.8;
        margin-bottom: 10px;
    }

    .form{
        width: 80%;
    }
}



.material-icons {
    color: #333;
    font-size: 30px;
    position: relative;
    

}

.form-group{
    margin-top:20px;
    width: 100%;
    display: flex;
    align-content: center;
}

.input{
    width: 100%;
    height: 40px;
    padding: 0 15px;
    color: #78028d;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


@media (max-width: 500px){
    .input{
        font-size: 14px;
    }
}

::placeholder{
    color: #78028d;
    font-size: 16px;
}


.check{
    width: 15px;
    height: 15px;
}

.remember{
    font-size: 16px;
    color: #2a0131;
    display: flex;
    align-items: center;
}


.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;
    font-size: 15px;
    padding: 0 15px;
    margin-top: 20px;
    color: #fff;
    background: #4d0076;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


.btn:hover{
    background: #66019d;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.forgot{
    font-size: 15px;
}

*/


/* pawani */

/*

@media (min-width: 475px){
    .container{
        max-width:475px;
    }
}

@media (min-width: 640px){
    .container{
        max-width:640px;
    }
}

@media (min-width: 768px){
    .container{
        max-width:768px;
    }
}

@media (min-width: 1024px){
    .container{
        max-width:1024px;
    }
}

@media (min-width: 1280px){
    .container{
        max-width:1280px;
    }
}

@media (min-width: 1536px){
    .container{
        max-width:1536px;
    }
}

*/