codecraft-web-project-footer {
    display: none !important;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bae6fd;
    color: #333;
    height: 100vh;
    overflow: hidden;
}

.main-content {
    width: 100%;
    height: 100vh;
    padding: 10px;
    box-sizing: border-box;
    display: flex;             
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home-content h1 { 
    color: #2c3e50; 
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 12px;
    text-align: center;
}

/* Larger Phone Screen Mockup Container */
#iframe-container {
    width: 100%;
    max-width: 400px;
    height: 680px;
    max-height: 90vh;
    background: #ffffff;
    border: 5px solid #334155;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.app-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
}

.app-brand {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    flex-shrink: 0;
}

.app-brand h1 {
    font-size: 1.3rem;
    color: #0284c7;
    margin: 0;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin: 6px 0 0 0;
}

.visual-placeholder {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.logo-img {
    max-width: 65%;
    max-height: 120px;
    object-fit: contain;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex-shrink: 0;
}

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.btn-primary {
    background: #0284c7;
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: #16a34a;
    border: 1px solid #16a34a;
}

.form-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    margin-bottom: 12px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #334155;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.btn-back-link {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.8rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    flex-shrink: 0;
}

.dashboard-header {
    background: #f8fafc;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.dashboard-header h1 {
    font-size: 1.1rem;
    color: #0284c7;
    margin: 0;
}

.logout-btn-sm {
    width: auto !important;
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
}

.dashboard-content {
    flex-grow: 1;
    padding: 16px 18px;
    overflow-y: auto; 
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.global-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 0.85rem;
}

.welcome-greeting-card {
    background: #0284c7;
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
}

.welcome-greeting-card h3 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
}

.welcome-greeting-card p {
    margin: 0;
    font-size: 0.8rem;
}

.bottom-nav {
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    flex-shrink: 0;
}

.nav-item {
    text-decoration: none;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: bold;
    cursor: pointer;
}

.nav-item.active {
    color: #0284c7;
}

/* Chat Bubble Widget Styling */
#chat-widget-container {
    position: absolute;
    bottom: 60px;
    right: 20px;
    z-index: 100;
}

#chat-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0284c7;
    color: white;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#chat-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 280px;
    height: 340px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: #0284c7;
    color: white;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-chat-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
}

.chat-bubble.bot {
    background: #f1f5f9;
    color: #333;
    align-self: flex-start;
}

.chat-bubble.user {
    background: #0284c7;
    color: white;
    align-self: flex-end;
}

.chat-input-area {
    display: flex;
    padding: 8px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

#chat-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.8rem;
}

#chat-send-btn {
    background: #0284c7;
    color: white;
    border: none;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 6px;
}