﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure that padding and borders don't mess up the layout */
}

/* Fix iframe viewport issues */
body {
    font-family: Arial, sans-serif;
    background-color: #e3891c; /*#0276c3*/
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Callback container */
.callbackFrameClass {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: height 0.3s ease, width 0.3s ease; /* Smooth transition for height and width */
}

/* Header section containing minimize and close buttons */
.header {
    width: 100%;
    background-color: #e3891c; /* Blue header background */
    color: white;
    padding: 12px 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

    .header .close, .header .minimize {
        position: absolute;
        top: 5px;
        font-size: 18px;
        color: white;
        cursor: pointer;
    }

    .header .close {
        right: 10px;
    }

    .header .minimize {
        right: 40px;
    }

/*
.callBackText {
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-top: 5px;
    padding: 10px;
}*/

/* Form content */
.formContent {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ecb066; 
    transition: opacity 0.3s ease; /* Smooth transition for visibility */
}

/* Minimized state for the entire iframe */
.callbackFrameClass.minimized {
    height: 40px; /* Collapse height when minimized */
    width: 100px; /* You can adjust this value as needed */
}

    .callbackFrameClass.minimized .formContent {
        opacity: 0; /* Hide form content */
        pointer-events: none; /* Disable interactions with form */
    }

    /* When minimized, only the "Call Back" text should be visible, hide the minimize/expand button */
    .callbackFrameClass.minimized .header .minimize {
        display: none; /* Hide the minimize button */
    }

/* Form fields */
.textBox, .mydropdownlist1, textarea {
    width: 90%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 5px;
    background-color: #ffffff;
    font-size: 14px;
    border: 1px solid #ccc;
}

/* Button styles */
.login {
    width: 90%;
    padding: 12px;
    margin-top: 10px;
    background-color: #012433; /* Blue button */
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    transition: background-color 0.3s ease;
}

    .login:hover {
        background-color: #ecb066;
        border: 1px white solid;
    }
