﻿:root {
    --navy-blue: #0a3d62;
    --navy-blue-light: #1e5f85;
    --navy-blue-dark: #072c49;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-container {
    max-width: 500px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background-color: var(--navy-blue);
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid var(--navy-blue-dark);
}

.form-body {
    padding: 25px;
    background-color: white;
}

.form-control:focus {
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 0.25rem rgba(10, 61, 98, 0.25);
}

.btn-navy {
    background-color: var(--navy-blue);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

    .btn-navy:hover, .btn-navy:focus {
        background-color: var(--navy-blue-light);
        color: white;
    }

.profile-picture-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--navy-blue);
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

    .profile-picture img {
        max-width: 100%;
        max-height: 100%;
    }

    .profile-picture i {
        font-size: 50px;
        color: var(--navy-blue);
    }

.custom-file-upload {
    cursor: pointer;
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--navy-blue);
    color: white;
    border-radius: 4px;
    transition: all 0.3s;
}

    .custom-file-upload:hover {
        background-color: var(--navy-blue-light);
    }

#file-upload {
    display: none;
}

.form-label {
    font-weight: 500;
    color: var(--navy-blue);
}

.required:after {
    content: " *";
    color: red;
}

.form-section {
    background-color: rgba(10, 61, 98, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--navy-blue);
}

.form-section-title {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.fws {
    font-size: 12px;
}

/* IntlTelInput custom styling */
.iti {
    width: 100%;
    margin-bottom: 15px;
}

.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
}

/* count down css */
.countdown-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.countdown-circle {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 10;
}

.circle-progress {
    fill: none;
    stroke: #198754;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 339.292; /* 2 * PI * r (r = 54) */
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #198754;
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");
    }
}
