/*
 * Custom Design System for Integer vCard
 * Matches the requested corporate card mockup exactly.
 */

body {
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

/* Preloader Welcome Screen */
.loading-welcome {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-welcome.ng-hide {
    opacity: 0;
    visibility: hidden;
}

.loading-welcome .progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.loading-welcome .loading-bar {
    height: 100%;
    width: 50%;
    background-color: #1e3465;
    animation: loading-bar-animation 1.5s infinite linear;
}

@keyframes loading-bar-animation {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.loading-welcome .helper {
    display: none;
}

.loading-welcome img {
    max-width: 150px;
    max-height: 150px;
    vertical-align: middle;
    animation: fade-in 1s ease forwards;
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Card Container */
.card-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.card-container {
    width: 100%;
    background-color: #ffffff;
    border: 12px solid #04284C;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

/* Top Section (White background) */
.card-top {
    padding: 40px 15px 25px 20px;
}

.logo-container {
    text-align: left;
    margin-bottom: 35px;
}

.logo-container img {
    max-height: 130px;
    max-width: 100%;
    height: auto;
}

.personal-info {
    margin-bottom: 25px;
}

.personal-info .name {
    font-size: 22px;
    font-weight: 600;
    color: #1e3465;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.personal-info .title {
    font-size: 15px;
    font-weight: 400;
    color: #4b5563;
    margin: 0;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-item:hover {
    opacity: 0.85;
}

.contact-item .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #1e3465;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 15px;
    font-size: 15px;
    flex-shrink: 0;
}

.contact-item .contact-text {
    font-size: 16px;
    color: #1e3465;
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
}

/* Divider Line (S-curve, half orange, half brown) */
.divider-container {
    height: 16px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.divider-top-row {
    display: flex;
    height: 8px;
    width: 100%;
    position: relative;
    background-color: #ffffff;
}

.divider-bottom-row {
    display: flex;
    height: 8px;
    width: 100%;
    position: relative;
}

.top-left {
    width: 44%;
    height: 100%;
    background-color: #ffffff;
}

.top-right {
    width: 56%;
    height: 100%;
    background-color: #a78e76;
    border-top-left-radius: 16px;
}

.bottom-left {
    width: 44%;
    height: 100%;
    background-color: #F6931D;
    border-bottom-right-radius: 16px;
}

.bottom-right {
    width: 56%;
    height: 100%;
    background-color: #1e3465;
}

/* Bottom Section (Navy background) */
.card-bottom {
    background-color: #1e3465;
    padding: 25px 25px 35px 25px;
    color: #ffffff;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.company-name-1 {
    font-size: 15px;
    font-weight: 700;
    color: #F6931D;
    letter-spacing: 0.5px;
}

.company-name-2 {
    font-size: 15px;
    font-weight: 700;
    color: #F6931D;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.company-detail {
    font-size: 12.5px;
    line-height: 1.5;
    color: #ffffff;
}

.company-detail strong {
    font-weight: 600;
    color: #F6931D;
}

.company-detail a {
    color: #ffffff;
    text-decoration: none;
}

.company-detail a:hover {
    text-decoration: underline;
}

/* Floating Action Button */
.fabs-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fab-btn i {
    font-size: 16px;
}
