@charset "UTF-8";

div#careerbox{
    position: relative;
    top:100px;
    margin-bottom:150px;
    width: 100%;
    height: 600px;
    background-image: url(/img/barista2.jpeg);
    background-size: 100% 600px;
}

div#career{
    position: absolute;
    left:25%;
    right:25%;
    height: 100%;
    background-color: rgba(0, 47, 167, 0.8);
}

div#career > div#careerword{
    position: absolute;
    top: 7.5%;
    color: #EBEBF0;
}

div#careerword > h1{
    font-size: 40px;
    text-align: center;
    font-weight: 900;
}

div#careerword > p{
    font-size: 20px;
    text-align: center;
}

div#careerword > div#button{
    text-align: center;
}

div#button > a{
    font-size: 40px;
    background-color: #EBEBF0;
    color: rgb(0, 47, 167);
    border: 1px solid #EBEBF0;
    transition: font-size 0.5s linear 0s;
}

div#button > a:hover{
    font-size: 60px;
    background-color: rgb(0, 47, 167);
    color: #EBEBF0;
    border: 1px solid #EBEBF0;
}

div#video{
    position: relative;
    top: 50px;
}

div#video > div#videoword{
    position: relative;
    left: 15%;
    right: 15%;
    width: 70%;
}

div#videoword > h3{
    font-size: 40px;
    color:rgb(0, 47, 167);
    text-align: center;
}

div#video > div#video-container{
    position: relative;
    top: 50px;
    left: 25%;
    right: 25%;
}

div#formword{
    position: relative;
    top: 125px;
    left: 20%;
    right: 20%;
    width: 60%;
}

div#formword > h3{
    text-align: center;
    font-size: 40px;
    color:rgb(0, 47, 167);
}

div#form{
    position: relative;
    top: 150px;
}

fieldset#applierForm{
    position: absolute;
    left: 20%;
    right: 20%;
    width: 60%;
    padding: 10px;
}

fieldset#applierForm > legend{
    font-size: 20px;
    background-color:rgb(0, 47, 167);
    color: #EBEBF0;
}

fieldset#applierForm > input{
    position: absolute;
    left: 200px;
    width: 200px;
}

fieldset#applierForm > select{
    position: absolute;
    left: 200px;
    width: 200px;
}

fieldset#applierForm > input#fulltime{
    position: absolute;
    left: 105px;
}

fieldset#applierForm > input#parttime{
    position: absolute;
    left: 205px;
}

fieldset#applierForm > input#submitbutton{
    position: absolute !important;
    left: 10px !important;
}

fieldset#applierForm > input#cancelbutton{
    position: absolute !important;
    left: 250px !important;
}

fieldset#applierForm > label{
    margin-left: 10px;
}

input[type="radio"]{
    margin-top: 3px;
}


/* Validation Styles */
input:focus,select:focus{
    background: rgb(255,255,180);
 }
 
 input:focus:valid,select:focus:valid{
    background: rgb(220,255,220) url(/img/rb_okay.png) right/contain no-repeat;
 }
 
 input:focus:invalid,select:focus:invalid{
    background: rgb(255,230,230) url(/img/rb_warning.png) right/contain no-repeat;
 }

footer{
    position: relative !important;
    top: 400px !important;
}

/* Responsive styles for career.css */
@media (max-width: 1024px) {
    div#careerbox {
        height: 500px;
        background-size: cover;
        background-position: center;
    }
    
    div#career {
        left: 15%;
        right: 15%;
        width: 70%;
    }
    
    div#careerword > h1 {
        font-size: 36px;
    }
    
    div#careerword > p {
        font-size: 18px;
        line-height: 1.6;
    }
    
    div#button > a {
        font-size: 36px;
        padding: 12px 24px;
        border-radius: 8px;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    div#video > div#videoword {
        width: 80%;
        left: 10%;
        right: 10%;
    }
    
    div#videoword > h3 {
        font-size: 36px;
    }
    
    div#video > div#video-container {
        left: 15%;
        right: 15%;
        width: 70%;
    }
}

@media (max-width: 768px) {
    div#careerbox {
        top: 80px;
        margin-bottom: 80px;
        height: 400px;
        background-size: cover;
        background-position: center;
    }
    
    div#career {
        left: 5%;
        right: 5%;
        width: 90%;
        border-radius: 10px;
        overflow: hidden;
    }
    
    div#career > div#careerword {
        top: 10%;
        padding: 20px;
        text-align: center;
    }
    
    div#careerword > h1 {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    div#careerword > p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    div#careerword > div#button {
        margin-top: 25px;
    }
    
    div#button > a {
        font-size: 24px;
        padding: 12px 24px;
        border-radius: 25px;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        min-width: 150px;
    }
    
    div#button > a:hover {
        font-size: 26px !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }
    
    /* Video section */
    div#video {
        top: 30px;
        margin: 0 5%;
    }
    
    div#video > div#videoword {
        left: 0;
        right: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    
    div#videoword > h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    div#video > div#video-container {
        left: 0;
        right: 0;
        width: 100%;
        top: 20px;
    }
    
    div#video-container iframe {
        width: 100%;
        height: 250px;
        border-radius: 10px;
    }
    
    /* Form section */
    div#formword {
        top: 80px;
        left: 5%;
        right: 5%;
        width: 90%;
        margin-bottom: 30px;
    }
    
    div#formword > h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    div#form {
        top: 100px;
        margin: 0 5%;
    }
    
    fieldset#applierForm {
        left: 0;
        right: 0;
        width: 100%;
        position: static;
        padding: 25px;
        border: 2px solid rgb(0, 47, 167);
        border-radius: 10px;
        background-color: #f9f9f9;
    }
    
    fieldset#applierForm > legend {
        font-size: 18px;
        padding: 8px 15px;
        border-radius: 5px;
    }
    
    fieldset#applierForm > label {
        display: block;
        margin: 20px 0 8px 0;
        font-weight: bold;
        color: rgb(0, 47, 167);
        font-size: 16px;
    }
    
    fieldset#applierForm > input,
    fieldset#applierForm > select {
        position: static;
        width: 100%;
        margin: 0 0 15px 0;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        box-sizing: border-box;
        transition: border-color 0.3s ease;
    }
    
    fieldset#applierForm > input:focus,
    fieldset#applierForm > select:focus {
        border-color: rgb(0, 47, 167);
        outline: none;
    }
    
    /* Radio buttons styling */
    .radio-group {
        display: flex;
        gap: 20px;
        margin: 10px 0;
        align-items: center;
    }
    
    fieldset#applierForm > input[type="radio"] {
        width: auto;
        margin-right: 8px;
        transform: scale(1.2);
    }
    
    fieldset#applierForm > label[for="fulltime"],
    fieldset#applierForm > label[for="parttime"] {
        display: inline;
        margin: 0;
        font-weight: normal;
        font-size: 16px;
    }
    
    /* Submit buttons */
    .button-group {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 30px;
    }
    
    fieldset#applierForm > input#submitbutton,
    fieldset#applierForm > input#cancelbutton {
        position: static !important;
        left: auto !important;
        width: auto;
        min-width: 120px;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    fieldset#applierForm > input#submitbutton {
        background-color: rgb(0, 47, 167);
        color: white;
    }
    
    fieldset#applierForm > input#submitbutton:hover {
        background-color: #003580;
        transform: translateY(-2px);
    }
    
    fieldset#applierForm > input#cancelbutton {
        background-color: #666;
        color: white;
    }
    
    fieldset#applierForm > input#cancelbutton:hover {
        background-color: #555;
        transform: translateY(-2px);
    }
    
    footer {
        top: 300px !important;
    }
}

@media (max-width: 480px) {
    div#careerbox {
        top: 60px;
        margin-bottom: 60px;
        height: 700px;
    }
    
    div#career {
        width: 95%;
        left: 2.5%;
        right: 2.5%;
    }
    
    div#career > div#careerword {
        padding: 15px;
    }
    
    div#careerword > h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    div#careerword > p {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    div#button > a {
        font-size: 18px;
        padding: 0 auto;
        margin-top: -100px;
        margin-bottom: 10px;
        min-width: 130px;
    }
    
    div#button > a:hover {
        font-size: 20px !important;
    }
    
    div#videoword > h3 {
        font-size: 22px;
    }
    
    div#video-container iframe {
        height: 200px;
    }
    
    div#formword > h3 {
        font-size: 22px;
    }
    
    fieldset#applierForm {
        padding: 20px 15px;
    }
    
    fieldset#applierForm > legend {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    fieldset#applierForm > label {
        font-size: 14px;
        margin: 15px 0 6px 0;
    }
    
    fieldset#applierForm > input,
    fieldset#applierForm > select {
        padding: 10px;
        font-size: 14px;
    }
    
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    fieldset#applierForm > input#submitbutton,
    fieldset#applierForm > input#cancelbutton {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    footer {
        top: 250px !important;
    }
}

@media (max-width: 320px) {
    div#careerbox {
        height: 300px;
    }
    
    div#careerword > h1 {
        font-size: 18px;
    }
    
    div#careerword > p {
        font-size: 13px;
    }
    
    div#button > a {
        font-size: 16px;
        padding: 8px 16px;
        min-width: 120px;
    }
    
    div#videoword > h3,
    div#formword > h3 {
        font-size: 20px;
    }
    
    fieldset#applierForm {
        padding: 15px 10px;
    }
    
    div#video-container iframe {
        height: 180px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    div#careerbox {
        height: 300px;
        top: 60px;
    }
    
    div#careerword > h1 {
        font-size: 24px;
    }
    
    div#careerword > p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    div#button > a {
        font-size: 20px;
        padding: 8px 16px;
    }
    
    div#video-container iframe {
        height: 200px;
    }
}

/* Enhanced validation styles for mobile */
@media (max-width: 768px) {
    input:focus:valid, select:focus:valid {
        background: rgb(220,255,220) url(/img/rb_okay.png) right 10px center/20px no-repeat;
        padding-right: 40px;
    }
    
    input:focus:invalid, select:focus:invalid {
        background: rgb(255,230,230) url(/img/rb_warning.png) right 10px center/20px no-repeat;
        padding-right: 40px;
    }
}