/* ========================================
   Company Page - Clean Design
   ======================================== */

* {
    box-sizing: border-box;
}

/* ========================================
   GNB / Header Redesign
   ======================================== */

header {
    padding: 0 !important;
    border-bottom: none !important;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    height: 88px;
    display: flex;
    align-items: center;
}

header .logo a {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    width: auto;
}

header .nav-menu {
    margin-left: auto;
}

header .nav-menu ul {
    display: flex;
    align-items: center;
    gap: 12px;
}

header .nav-menu ul li a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    border-radius: 8px;
    transition: all 0.2s;
}

header .nav-menu ul li a:hover {
    color: #3b82f6;
    background: #f1f5f9;
}

header .nav-menu ul li:last-child a {
    background: #3b82f6;
    color: #fff;
}

header .nav-menu ul li:last-child a:hover {
    background: #2563eb;
}

header .alarm-wrap {
    margin-left: 16px;
}

header .alarm-wrap .alarm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f1f5f9;
    background-image: url(../img/icon-alarm.png);
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.2s;
}

header .alarm-wrap .alarm-btn:hover {
    background-color: #e2e8f0;
}

header .alarm-wrap .alarm-btn.new {
    background-image: url(../img/icon-alarm-new.png);
    background-color: #fef2f2;
}

header .menu-toggle-btn {
    display: none;
}

/* Mobile Header */
@media screen and (max-width: 900px) {
    header .container {
        padding: 0 24px;
        height: 70px;
    }

    header .logo img {
        height: 40px;
    }

    header .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        padding: 80px 24px 24px;
        transition: right 0.3s;
        z-index: 1001;
    }

    header .nav-menu.open {
        right: 0;
    }

    header .nav-menu ul {
        flex-direction: column;
        gap: 8px;
    }

    header .nav-menu ul li {
        width: 100%;
    }

    header .nav-menu ul li a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
    }

    header .menu-toggle-btn {
        display: block;
        width: 44px;
        height: 44px;
        margin-left: 12px;
        background-image: url(../img/btn-menu.png);
        background-size: 24px;
        background-repeat: no-repeat;
        background-position: center;
    }

    header .alarm-wrap {
        margin-left: auto;
    }
}

/* === PAGE LAYOUT === */
.company-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0 0 80px;
}

.company-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === HERO SECTION === */
.hero-section {
    text-align: center;
    padding: 60px 0 50px;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.hero-section p {
    font-size: 20px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* === FILTER SECTION === */
.filter-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    height: 50px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

.filter-group select:hover {
    border-color: #3b82f6;
}

.filter-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Search Box */
.search-box {
    display: flex;
    height: 50px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.search-box:focus-within {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box input {
    flex: 1;
    height: 100%;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    border: none;
    background: transparent;
    outline: none;
}

.search-box input::placeholder {
    color: #9ca3af;
}

.search-box button {
    width: 54px;
    height: 100%;
    background: #3b82f6;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #2563eb;
}

.search-box button i {
    font-size: 18px;
    color: #fff;
}

/* === COMPANY GRID === */
.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* === COMPANY CARD === */
.company-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    box-shadow: 0 16px 40px rgba(59,130,246,0.15);
}

.company-card.is-favorite {
    border-color: #93c5fd;
    box-shadow: 0 4px 16px rgba(59,130,246,0.12);
}

.company-card.is-favorite:hover {
    border-color: #3b82f6;
    box-shadow: 0 16px 40px rgba(59,130,246,0.15);
}

.card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Logo Area - Horizontal friendly */
.logo-area {
    position: relative;
    height: 120px;
    padding: 24px 40px;
    background: #fff;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-area img {
    max-width: 70%;
    max-height: 60px;
    object-fit: contain;
}

.logo-area img[src*="dummy-company"] {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Card Body */
.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
}

.company-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.tag.blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.tag.green {
    background: #d1fae5;
    color: #059669;
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f1f5f9;
}

.view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    transition: all 0.2s;
}

.view-link i {
    font-size: 12px;
    transition: transform 0.2s;
}

.company-card:hover .view-link {
    color: #1d4ed8;
}

.company-card:hover .view-link i {
    transform: translateX(4px);
}

/* Like Button */
.like-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.like-btn i {
    font-size: 16px;
    color: #d1d5db;
    transition: all 0.2s;
}

.like-btn:hover {
    border-color: #ef4444;
    background: #fef2f2;
}

.like-btn:hover i {
    color: #ef4444;
}

.like-btn.liked {
    border-color: #ef4444;
    background: #ef4444;
}

.like-btn.liked i {
    color: #fff;
}

/* === EMPTY STATE === */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 40px;
    color: #9ca3af;
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}

.empty-state p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Browse Button in Empty State */
.empty-state .browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 28px;
    background: #3b82f6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
}

.empty-state .browse-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* ========================================
   Favorite Page Styles
   ======================================== */

.favorite-page .hero-section {
    padding: 50px 0 30px;
}

/* Favorite Tabs */
.favorite-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.favorite-tabs .tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s;
}

.favorite-tabs .tab-item i {
    font-size: 18px;
}

.favorite-tabs .tab-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.favorite-tabs .tab-item.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.favorite-tabs .tab-item.active i {
    color: #fff;
}

/* Favorite Page Filter - Smaller margin */
.favorite-page .filter-section {
    margin-bottom: 32px;
}

/* === RESPONSIVE === */
@media screen and (max-width: 1200px) {
    .company-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .company-container {
        padding: 0 24px;
    }

    .hero-section {
        padding: 50px 0 40px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .filter-section {
        padding: 24px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Favorite tabs responsive */
    .favorite-tabs {
        gap: 12px;
    }

    .favorite-tabs .tab-item {
        padding: 16px 20px;
        font-size: 14px;
    }

    .favorite-tabs .tab-item i {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .logo-area {
        height: 100px;
        padding: 16px 24px;
    }

    .logo-area img {
        max-height: 68px;
    }

    .card-body {
        padding: 20px;
    }

    .company-title {
        font-size: 18px;
    }

    .card-footer {
        padding: 14px 20px;
    }

    /* Favorite tabs - stack on mobile */
    .favorite-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .favorite-tabs .tab-item {
        padding: 14px 18px;
        font-size: 14px;
    }

    .favorite-tabs .tab-item span {
        flex: 1;
    }
}


/* ========================================
   Company Detail Page (New Layout)
   ======================================== */

.company-detail-page {
    background: #f8f9fa;
    min-height: calc(100vh - 72px);
    padding: 40px 40px 80px;
}

.detail-container {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.5s ease;
}

/* Smooth animation for layout transition */
.detail-container.animating {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

/* Left Panel - Company Info */
.company-panel {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow-y: auto;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Layout variants based on chat status */
.detail-container.no-chat .company-panel {
    width: calc(100% - 400px);
    flex-shrink: 0;
}

.detail-container.has-chat .company-panel {
    width: 420px;
    flex-shrink: 0;
}

.company-panel .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: color 0.2s;
}

.company-panel .back-link:hover {
    color: #3b82f6;
}

/* Company Card */
.company-panel .company-card {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
}

.company-panel .company-logo {
    width: 140px;
    height: 90px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

.company-panel .company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-panel .company-logo svg {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
}

/* Dummy logo for no-upload case */
.company-panel .company-logo img[src*="dummy-company"] {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    padding: 0;
}

.company-panel .company-name {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.company-panel .company-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.company-panel .save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.company-panel .save-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.company-panel .save-btn.saved {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

/* Info Content */
.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    overflow-y: auto;
}

/* Visual Section */
.company-panel .visual-section {
    border-radius: 12px;
    overflow: hidden;
}

.company-panel .visual-section .visual-img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* About Section */
.about-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.about-section .section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-content {
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
}

.about-content p {
    margin-bottom: 12px;
}

.about-content img {
    max-width: 100%;
    border-radius: 8px;
}

/* Files Section */
.files-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.files-section .section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.files-section .file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.files-section .file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.files-section .file-item:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.files-section .file-item i {
    font-size: 16px;
    color: #ef4444;
}

.files-section .file-item:hover i {
    color: #fff;
}

/* Meeting Status / Button */
.meeting-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
}

.meeting-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.meeting-status.confirmed {
    background: #d1fae5;
    color: #059669;
}

.request-meeting-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: #3b82f6;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.request-meeting-btn:hover {
    background: #2563eb;
}

/* Right Panel - Chat */
.chat-panel {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    min-height: 500px;
    min-width: 0;
    position: relative;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease;
}

/* Chat panel layout states */
.detail-container.no-chat .chat-panel {
    width: 400px;
    flex-shrink: 0;
    background: #f8f9fa;
}

.detail-container.has-chat .chat-panel {
    width: calc(100% - 420px);
    flex-shrink: 0;
    background: #fff;
}

/* Chat panel glow effect during transition */
.chat-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.detail-container.animating .chat-panel::before {
    opacity: 1;
}

.chat-header {
    padding: 20px 28px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.chat-with .label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.chat-with .name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

/* Chat Messages */
.chat-messages {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 300px;
    background: #fff;
}

/* Message */
.message {
    display: flex;
    gap: 12px;
    max-width: 70%;
}

.message.theirs {
    align-self: flex-start;
}

.message.mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
}

.message-avatar svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message.mine .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

.message.theirs .message-bubble {
    background: #f1f5f9;
    color: #1f2937;
    border-bottom-left-radius: 4px;
}

.message.mine .message-bubble {
    background: #3b82f6;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: #9ca3af;
    padding: 0 4px;
}

/* Chat Empty State */
.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.chat-empty .empty-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.chat-empty .empty-icon i {
    font-size: 36px;
    color: #9ca3af;
}

.chat-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.chat-empty p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Chat Input */
.chat-input {
    padding: 20px 28px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
}

/* Chat input highlight during transition */
.detail-container.animating .chat-input {
    background: linear-gradient(180deg, #eef6ff 0%, #fff 100%);
}

.detail-container.animating .chat-input textarea {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    transform: scale(1.01);
}

.chat-input .input-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input textarea {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    min-height: 48px;
    max-height: 120px;
    line-height: 1.4;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease;
    background: #fff;
}

.chat-input textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.chat-input .send-btn {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-input .send-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.chat-input .send-btn i {
    font-size: 18px;
}

/* No Chat Panel (Own Profile) */
.chat-panel.no-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.no-chat-message {
    text-align: center;
    padding: 40px;
}

.no-chat-message > i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-chat-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
}

.no-chat-message .profile-info {
    text-align: left;
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.no-chat-message .profile-info p {
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
    color: #4b5563;
    border-bottom: 1px solid #f1f5f9;
}

.no-chat-message .profile-info p:last-child {
    border-bottom: none;
}

.no-chat-message .profile-info strong {
    color: #1f2937;
    margin-right: 8px;
}

.edit-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1a1a2e;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: background 0.2s;
}

.edit-profile-btn:hover {
    background: #2d2d44;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.modal-header .close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-header .close-btn:hover {
    background: #e2e8f0;
}

.modal-body {
    padding: 24px;
}

.modal-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px;
}

.modal-body textarea {
    width: 100%;
    height: 120px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    transition: all 0.2s;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.modal-footer .btn-cancel {
    flex: 1;
    padding: 14px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-footer .btn-cancel:hover {
    background: #f1f5f9;
}

.modal-footer .btn-submit {
    flex: 1;
    padding: 14px;
    background: #3b82f6;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-footer .btn-submit:hover {
    background: #2563eb;
}

/* Modal Box Wide */
.modal-box.modal-box-wide {
    max-width: 560px;
}

/* Modal Footer with Back Button */
.modal-footer .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-footer .btn-back:hover {
    background: #f1f5f9;
}

.modal-footer-right {
    display: flex;
    gap: 12px;
    flex: 1;
}

.modal-footer-right .btn-cancel,
.modal-footer-right .btn-submit {
    flex: 1;
}

/* Reschedule Options */
.reschedule-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reschedule-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reschedule-option:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.reschedule-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.reschedule-option .option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    flex-shrink: 0;
}

.reschedule-option .option-icon i {
    font-size: 22px;
    color: #3b82f6;
}

.reschedule-option .option-content {
    flex: 1;
}

.reschedule-option .option-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.reschedule-option .option-content p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.reschedule-option .option-check {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.reschedule-option .option-check i {
    font-size: 24px;
    color: #3b82f6;
}

.reschedule-option.selected .option-check {
    opacity: 1;
}

/* Available Times Section */
.available-times-section {
    margin-bottom: 16px;
}

.available-times-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.time-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.time-select:focus {
    outline: none;
    border-color: #3b82f6;
}

.time-select option {
    padding: 12px;
}

/* Detail Page Responsive */
@media screen and (max-width: 900px) {
    .company-detail-page {
        padding: 24px;
    }

    .detail-container {
        flex-direction: column;
        border-radius: 16px;
    }

    /* Override dynamic layout on mobile - always stack vertically */
    .detail-container.no-chat .company-panel,
    .detail-container.has-chat .company-panel {
        flex: none;
        width: 100%;
    }

    .detail-container.no-chat .chat-panel,
    .detail-container.has-chat .chat-panel {
        flex: none;
        width: 100%;
    }

    .company-panel {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .chat-panel {
        min-height: 400px;
    }

    .message {
        max-width: 85%;
    }
}

@media screen and (max-width: 600px) {
    .company-detail-page {
        padding: 16px;
    }

    .detail-container {
        border-radius: 12px;
    }

    .company-panel {
        padding: 20px;
    }

    .chat-header {
        padding: 16px 20px;
    }

    .chat-messages {
        padding: 20px;
        min-height: 200px;
    }

    .chat-input {
        padding: 16px 20px;
    }

    .message {
        max-width: 90%;
    }
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.back-link:hover {
    color: #3b82f6;
}

.back-link i {
    font-size: 14px;
}

/* Layout */
.view-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Company Header */
.company-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.company-header .logo-box {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 12px;
}

.company-header .logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-header .logo-box img[src*="dummy-company"] {
    padding: 0;
}

.company-header .header-info {
    flex: 1;
}

.company-header .company-name {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.company-header .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.company-header .like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.company-header .like-btn i {
    font-size: 18px;
}

.company-header .like-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.company-header .like-btn.liked {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

/* Visual Section */
.visual-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.visual-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Description Section */
.description-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 28px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.description-content {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}

.description-content p {
    margin-bottom: 16px;
}

.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Download Section */
.download-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 28px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.file-item:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.file-item i {
    font-size: 18px;
    color: #3b82f6;
}

.file-item:hover i {
    color: #fff;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 92px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.sidebar-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-card .card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.sidebar-card .edit-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    transition: all 0.2s;
}

.sidebar-card .edit-link:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.sidebar-card .card-body {
    padding: 20px 24px;
}

.sidebar-card .info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-card .info-row:first-child {
    padding-top: 0;
}

.sidebar-card .info-row:last-of-type {
    border-bottom: none;
}

.sidebar-card .label {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
}

.sidebar-card .value {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    word-break: break-all;
}

.sidebar-card .about-text {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

/* Meeting Button */
.meeting-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.meeting-btn:hover {
    background: #2563eb;
}

.meeting-btn i {
    font-size: 18px;
}

.meeting-btn.pending {
    background: #f59e0b;
    cursor: default;
}

.meeting-btn.confirmed {
    background: #10b981;
    cursor: default;
}

/* Chat Section */
.chat-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.chat-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header h3 i {
    color: #3b82f6;
}

.chat-body {
    max-height: 350px;
    overflow-y: auto;
    padding: 16px;
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.chat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-item {
    display: flex;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
}

.chat-content {
    flex: 1;
    min-width: 0;
}

.chat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.chat-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.chat-time {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
}

.chat-message {
    background: #f1f5f9;
    border-radius: 0 12px 12px 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.chat-item.mine {
    flex-direction: row-reverse;
}

.chat-item.mine .chat-meta {
    flex-direction: row-reverse;
}

.chat-item.mine .chat-message {
    background: #3b82f6;
    color: #fff;
    border-radius: 12px 0 12px 12px;
}

/* Empty State */
.chat-empty {
    text-align: center;
    padding: 40px 20px;
}

.chat-empty i {
    font-size: 36px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.chat-empty p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Chat Form */
.chat-form {
    padding: 16px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.chat-form textarea {
    width: 100%;
    height: 80px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    margin-bottom: 10px;
    transition: all 0.2s;
    background: #fff;
}

.chat-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.chat-form .send-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1a1a2e;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-form .send-btn:hover {
    background: #2d2d44;
}

.chat-form .send-btn i {
    font-size: 14px;
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.open {
    display: flex;
}

.popup-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.popup-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.popup-header .close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-header .close-btn:hover {
    background: #e2e8f0;
    color: #1f2937;
}

.popup-body {
    padding: 24px;
}

.popup-body textarea {
    width: 100%;
    height: 150px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    transition: all 0.2s;
}

.popup-body textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.popup-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.popup-footer .btn-cancel {
    flex: 1;
    padding: 14px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-footer .btn-cancel:hover {
    background: #f1f5f9;
}

.popup-footer .btn-submit {
    flex: 1;
    padding: 14px;
    background: #3b82f6;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-footer .btn-submit:hover {
    background: #2563eb;
}

/* View Page Responsive */
@media screen and (max-width: 1000px) {
    .view-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .view-container {
        padding: 0 20px;
    }

    .company-header {
        flex-direction: column;
        text-align: center;
    }

    .company-header .header-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .company-header .company-name {
        font-size: 24px;
    }

    .company-header .like-btn {
        width: 100%;
        justify-content: center;
    }

    .description-section,
    .download-section {
        padding: 20px;
    }
}


/* ========================================
   My Page Styles
   ======================================== */

.mypage-main {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0 0 80px;
}

.mypage-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.mypage-main .hero-section {
    padding: 50px 0 30px;
}

/* Profile Card */
.profile-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.profile-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-info {
    flex: 1;
}

.profile-info .company-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.profile-info .company-name:hover {
    color: #3b82f6;
}

.profile-info .user-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.profile-info .user-details span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.profile-info .user-details i {
    font-size: 12px;
    color: #9ca3af;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.profile-actions .btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
}

.profile-actions .btn-edit:hover {
    background: #3b82f6;
    color: #fff;
}

.profile-actions .btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s;
}

.profile-actions .btn-preview:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Mypage Tabs */
.mypage-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.mypage-tabs .tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s;
}

.mypage-tabs .tab-item i {
    font-size: 16px;
}

.mypage-tabs .tab-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.mypage-tabs .tab-item.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Mypage Content */
.mypage-content {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.content-header-text h2,
.content-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.content-header-text p,
.content-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.content-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-excel-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #107c41;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-excel-download:hover {
    background: #0d6535;
}

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

/* Meeting Overview Dashboard */
.meeting-overview {
    margin-bottom: 28px;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.summary-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon i {
    font-size: 24px;
    color: #fff;
}

.summary-icon.total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.summary-icon.pending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.summary-icon.agreed {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.summary-icon.scheduled {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.summary-content {
    display: flex;
    flex-direction: column;
}

.summary-number {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.summary-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Detail Cards Grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.overview-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.overview-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.overview-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.overview-title .title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-title .title-icon i {
    font-size: 18px;
    color: #fff;
}

.overview-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

/* Overview Tabs */
.overview-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.overview-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.overview-tab i {
    font-size: 14px;
}

.overview-tab .tab-count {
    background: #e5e7eb;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.overview-tab:hover {
    background: #fff;
    color: #3b82f6;
}

.overview-tab.active {
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.overview-tab.active .tab-count {
    background: #dbeafe;
    color: #3b82f6;
}

.overview-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 24px;
    padding: 16px 16px;
    background: #f8f9fa;
    min-height: 52px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: 10px;
    border-left: 3px solid #667eea;
}

/* Request Stats */
.request-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.stat-row:hover {
    background: #f1f5f9;
}

.stat-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 18px;
    color: #fff;
}

.stat-icon.pending { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.stat-icon.agreed { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.stat-icon.declined { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-text .stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.stat-hint {
    font-size: 12px;
    color: #9ca3af;
}

.stat-value {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.stat-value.pending { background: #3b82f6; }
.stat-value.agreed { background: #22c55e; }
.stat-value.declined { background: #ef4444; }

/* Status List */
.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.status-item:hover {
    background: #f1f5f9;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon i {
    font-size: 18px;
    color: #fff;
}

.status-icon.awaiting { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.status-icon.scheduled { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.status-icon.missing { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-text .status-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.status-hint {
    font-size: 12px;
    color: #9ca3af;
}

.status-badge {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.status-badge.awaiting { background: #22c55e; }
.status-badge.scheduled { background: #f97316; }
.status-badge.missing { background: #ef4444; }

/* Responsive */
@media screen and (max-width: 1100px) {
    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .summary-cards {
        grid-template-columns: 1fr;
    }
    .summary-card {
        padding: 16px;
    }
    .summary-icon {
        width: 48px;
        height: 48px;
    }
    .summary-number {
        font-size: 24px;
    }
}

/* Info Box */
.info-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #eff6ff;
    border-radius: 12px;
    margin-bottom: 24px;
}

.info-box-left {
    display: flex;
    gap: 16px;
    flex: 1;
}

.info-box-left > i {
    font-size: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box-right {
    flex-shrink: 0;
}

.info-box > i {
    font-size: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box .info-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-box .info-text li {
    font-size: 14px;
    color: #1e40af;
    line-height: 1.6;
    margin-bottom: 4px;
}

.info-box .info-text li:last-child {
    margin-bottom: 0;
}

/* Request List */
.request-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s;
}

.request-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.request-card.pending-action {
    background: #fffbeb;
    border-color: #fcd34d;
}

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

.request-date {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.request-company {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    transition: color 0.2s;
}

.request-company:hover {
    color: #3b82f6;
}

.request-type {
    font-size: 13px;
    color: #6b7280;
}

.request-type i {
    margin-right: 4px;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.accepted {
    background: #d1fae5;
    color: #059669;
}

.status-badge.declined {
    background: #fee2e2;
    color: #dc2626;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-decline,
.btn-accept {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-decline {
    background: #fee2e2;
    color: #dc2626;
}

.btn-decline:hover {
    background: #dc2626;
    color: #fff;
}

.btn-accept {
    background: #d1fae5;
    color: #059669;
}

.btn-accept:hover {
    background: #059669;
    color: #fff;
}

/* Inquiry List */
.inquiry-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inquiry-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.inquiry-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.inquiry-card.unread {
    background: #fafbff;
    border-color: #93c5fd;
}

.inquiry-info {
    flex-shrink: 0;
    width: 200px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inquiry-date {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.inquiry-company {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.inquiry-user {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.inquiry-user i {
    color: #94a3b8;
    font-size: 11px;
}

.inquiry-message {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    overflow: hidden;
    padding: 20px 24px;
}

.inquiry-message p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inquiry-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: #f8fafc;
    border-left: 1px solid #e5e7eb;
    color: #94a3b8;
    font-size: 16px;
    transition: all 0.2s;
}

.inquiry-card:hover .inquiry-arrow {
    background: #3b82f6;
    color: #fff;
}

/* Inquiry responsive */
@media screen and (max-width: 768px) {
    .inquiry-card {
        flex-direction: column;
    }

    .inquiry-info {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 16px 20px;
    }

    .inquiry-message {
        padding: 16px 20px;
    }

    .inquiry-arrow {
        display: none;
    }
}

/* Schedule Table */
.schedule-wrapper {
    position: relative;
}

.schedule-table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: center;
    vertical-align: top;
}

.schedule-table th {
    background: #f8f9fa;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.schedule-table th.col-time {
    width: 120px;
    background: #1a1a2e;
    color: #fff;
}

.schedule-table td.col-time {
    background: #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    vertical-align: middle;
    text-align: center;
    transition: all 0.2s;
}

.schedule-table tbody tr:hover td.col-time {
    background: #3b82f6;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 0 2px #3b82f6;
}

.schedule-table td.col-date {
    height: 100px;
    padding: 8px;
}

/* Schedule Item */
.schedule-item {
    /* height: 100%; */
    min-height: 80px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    transition: all 0.2s;
}

.schedule-item.empty {
    background: #f8f9fa;
    border: 2px dashed #e5e7eb;
    cursor: pointer;
}

.schedule-item.empty:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.schedule-item.unavailable {
    background: #f1f5f9;
    color: #9ca3af;
    flex-direction: row;
    gap: 6px;
}

.schedule-item.unavailable i {
    font-size: 16px;
}

.schedule-item.unavailable span {
    font-size: 14px;
    font-weight: 600;
}

.schedule-item.unavailable.setPossible {
    cursor: pointer;
}

.schedule-item.unavailable.setPossible:hover {
    background: #d1fae5;
    color: #059669;
}

.schedule-item.booked {
    background: #dbeafe;
    border: 2px solid #93c5fd;
}

.schedule-item.booked.guest {
    background: #fef3c7;
    border-color: #fcd34d;
}

.meeting-company {
    font-size: 13px;
    font-weight: 700;
    color: #1e40af;
    text-align: center;
}

.schedule-item.booked.guest .meeting-company {
    color: #92400e;
}

.meeting-stage {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

.meeting-actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.btn-reschedule,
.btn-cancel-meeting {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-reschedule {
    background: #fff;
    color: #3b82f6;
}

.btn-reschedule:hover {
    background: #3b82f6;
    color: #fff;
}

.btn-cancel-meeting {
    background: #fff;
    color: #ef4444;
}

.btn-cancel-meeting:hover {
    background: #ef4444;
    color: #fff;
}

/* Info Toast (Meeting Schedule) */
.info-toast {
    margin-bottom: 20px;
}

.info-toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.info-toast-content > i {
    font-size: 24px;
    color: #d97706;
    flex-shrink: 0;
}

.info-toast-content p {
    flex: 1;
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
    margin: 0;
}

.info-toast-content p strong {
    color: #78350f;
}

.toast-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #92400e;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #fff;
    color: #78350f;
}

.toast-close i {
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .info-toast-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .info-toast-content > i {
        font-size: 28px;
    }

    .toast-close {
        width: 100%;
        justify-content: center;
    }
}

/* Modal danger button */
.modal-footer .btn-submit.btn-danger {
    background: #ef4444;
}

.modal-footer .btn-submit.btn-danger:hover {
    background: #dc2626;
}

/* Mypage Empty State */
.mypage-content .empty-state {
    padding: 60px 40px;
    background: transparent;
    box-shadow: none;
}

/* Mypage Responsive */
@media screen and (max-width: 1200px) {
    .mypage-tabs {
        flex-wrap: wrap;
    }

    .mypage-tabs .tab-item {
        flex: 1 1 calc(50% - 6px);
    }
}

@media screen and (max-width: 900px) {
    .mypage-container {
        padding: 0 24px;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-info .user-details {
        justify-content: center;
    }

    .profile-actions {
        width: 100%;
    }

    .profile-actions .btn-edit,
    .profile-actions .btn-preview {
        flex: 1;
        justify-content: center;
    }

    .mypage-tabs .tab-item {
        flex: 1 1 calc(50% - 6px);
        padding: 14px 16px;
        font-size: 13px;
    }

    .mypage-tabs .tab-item span {
        display: none;
    }

    .mypage-tabs .tab-item i {
        font-size: 20px;
    }

    .request-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .inquiry-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .inquiry-info {
        min-width: auto;
    }

    .inquiry-message {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .mypage-content {
        padding: 20px;
    }

    .profile-card {
        padding: 20px;
    }

    .mypage-tabs .tab-item {
        flex: 1 1 calc(50% - 5px);
        padding: 12px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-decline,
    .btn-accept {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Auth Pages - Login (New Design)
   ======================================== */

.auth-main {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f4f8 50%, #f5f0ff 100%);
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-register .auth-container {
    max-width: 900px;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
}

.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo {
    margin-bottom: 24px;
}

.auth-logo img {
    height: 48px;
    margin: 0 auto;
}

.auth-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: #6b7280;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field:last-child {
    margin-bottom: 0;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.auth-field .input-wrap {
    position: relative;
}

.auth-field .input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.2s;
}

.auth-field input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    font-size: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.2s;
    outline: none;
}

.auth-field input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-field input:focus + i,
.auth-field .input-wrap:focus-within i {
    color: #3b82f6;
}

.auth-field input::placeholder {
    color: #9ca3af;
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.auth-submit:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.auth-submit i {
    font-size: 14px;
    transition: transform 0.2s;
}

.auth-submit:hover i {
    transform: translateX(4px);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.auth-footer .forgot-link {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer .forgot-link:hover {
    color: #3b82f6;
}

.auth-bottom {
    text-align: center;
    margin-top: 28px;
}

.auth-bottom p {
    font-size: 14px;
    color: #6b7280;
}

.auth-bottom a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-bottom a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Auth Result Page */
.auth-result {
    text-align: center;
    padding: 24px 0;
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}

.result-icon.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.result-icon.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.result-message {
    margin-bottom: 16px;
}

.result-message p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 8px;
}

.result-message strong {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
}

.result-note {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.result-note p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 16px;
    font-size: 13px;
    color: #9ca3af;
}

.auth-tips {
    text-align: left;
}

.auth-tips p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-tips p:last-child {
    margin-bottom: 0;
}

.auth-tips p i {
    color: #9ca3af;
    font-size: 14px;
    width: 16px;
}

.auth-tips a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.auth-tips a:hover {
    text-decoration: underline;
}

/* Auth Page Responsive */
@media screen and (max-width: 480px) {
    .auth-main {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .auth-header h1 {
        font-size: 22px;
    }
}

/* ========================================
   Auth Registration Page
   ======================================== */
.auth-register {
    padding: 40px 24px 60px;
}

.auth-card-wide {
    max-width: 900px;
    padding: 48px;
}

.auth-register .auth-header p .badge-attendee,
.auth-register .auth-header p .badge-partner {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-attendee {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}

.badge-partner {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
    padding-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 20px;
}

.section-title i {
    color: #3b82f6;
    font-size: 18px;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.auth-field-row:last-child {
    margin-bottom: 0;
}

.auth-field-row .auth-field {
    margin-bottom: 0;
}

.field-hint {
    font-size: 13px;
    color: #6b7280;
    margin: 15px 0 0;
    padding-left: 4px;
    line-height: 1.5;
}

/* Inline hint (label + hint on same line) */
.auth-field.inline-hint > label {
    display: inline;
}

.auth-field.inline-hint > .field-hint {
    display: inline;
    margin: 0 0 12px 0;
    padding-left: 8px;
    font-size: 13px;
}

.auth-field.inline-hint > .multi-file-wrapper {
    margin-top: 12px;
}

.field-error {
    font-size: 12px;
    color: #dc2626;
    margin: 6px 0 0;
    padding-left: 4px;
}

.input-with-btn {
    display: flex;
    gap: 0;
}

.input-with-btn input {
    border-radius: 12px 0 0 12px;
    flex: 1;
}

.field-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.field-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.select-wrap select {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 15px;
    color: #1a1a2e;
    padding: 14px 16px 14px 44px;
    margin: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-wrap {
    position: relative;
}

/* Auth form select with border */
.auth-form .input-wrap.select-wrap {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.2s;
}

.auth-form .input-wrap.select-wrap:focus-within {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-form .input-wrap.select-wrap select {
    width: 100%;
    background: transparent;
    outline: none;
}

.select-wrap::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.auth-agreement {
    text-align: center;
}

.auth-agreement p {
    font-size: 13px;
    color: #6b7280;
}

.auth-agreement a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.auth-agreement a:hover {
    text-decoration: underline;
}

/* Auth Registration - Summernote Override */
.auth-register .note-editor {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.auth-register .note-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.auth-register .note-editing-area {
    background: #fff;
}

/* File Input Styles */
.file-input-wrap {
    position: relative;
}

.file-input-wrap input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
}

.file-input-wrap input[type="file"]:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.file-input-wrap input[type="file"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Multi File Field */
.multi-file-field .multi-file-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.add-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-file-btn:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

/* Required & Size Hint */
.required {
    color: #ef4444;
}

.size-hint {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
}

/* Summernote Editor Styling in Auth Form */
.auth-form .note-editor {
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.auth-form .note-editor.note-frame {
    box-shadow: none !important;
}

.auth-form .note-toolbar {
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 8px !important;
}

.auth-form .note-editing-area {
    background: #fff !important;
}

.auth-form .note-editable {
    padding: 16px !important;
    font-size: 15px !important;
}

/* Auth Registration Responsive */
@media screen and (max-width: 768px) {
    .auth-card-wide {
        padding: 36px 24px;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auth-field-row .auth-field {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .auth-register {
        padding: 24px 16px 40px;
    }

    .auth-card-wide {
        padding: 28px 20px;
    }

    .field-btn {
        padding: 0 14px;
        font-size: 13px;
    }

    .field-btn span {
        display: none;
    }
}

/* ========================================
   Account Pages - Register, Edit (Legacy)
   ======================================== */

/* Common Account Page Styles */
.regist-page,
.company-regist-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.regist-page .title,
.company-regist-page .title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 40px;
}

.regist-page .title span,
.company-regist-page .title span {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 20px;
    margin-left: 12px;
    vertical-align: middle;
}

/* Form Styles */
.regist-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.regist-form .form-group {
    margin-bottom: 24px;
}

.regist-form .form-group:last-of-type {
    margin-bottom: 0;
}

.regist-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.regist-form input[type="text"],
.regist-form input[type="email"],
.regist-form input[type="password"],
.regist-form input[type="tel"],
.regist-form input[type="ac_email"],
.regist-form select,
.regist-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    transition: all 0.2s;
    outline: none;
}

.regist-form input:focus,
.regist-form select:focus,
.regist-form textarea:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.regist-form input::placeholder,
.regist-form textarea::placeholder {
    color: #9ca3af;
}

/* Select Styling */
.regist-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Textarea */
.regist-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Help Text */
.regist-form .help-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 15px;
    line-height: 1.5;
}

/* Error Text */
.regist-form .error-text {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.regist-form .error-text::before {
    content: "⚠";
}

/* Company Search */
.regist-form .company-search {
    display: flex;
    gap: 10px;
}

.regist-form .company-search input {
    flex: 1;
}

.regist-form .company-search .search-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.regist-form .company-search .search-btn:hover {
    background: #2d2d4a;
}

/* File Upload */
.regist-form .file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.regist-form .file-upload {
    flex: 1;
    padding: 12px 16px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
}

.regist-form .file-upload:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.regist-form .add-file-field-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.regist-form .add-file-field-btn:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

/* Delete File Button */
.regist-form .deleteExistFile {
    padding: 6px 12px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
}

.regist-form .deleteExistFile:hover {
    background: #dc2626;
    color: #fff;
}

/* Submit Buttons */
.login-button,
.continue-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 32px;
}

.login-button:hover,
.continue-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Login Links */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.login-links a {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.login-links a:hover {
    color: #3b82f6;
}

/* Registration Footer */
.regist-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.regist-footer .agree-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.regist-footer .agree-text a {
    color: #3b82f6;
    text-decoration: none;
}

.regist-footer .login-text {
    font-size: 14px;
    color: #374151;
}

.regist-footer .login-text a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

/* Radio Container */
.regist-form .radio-container {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.regist-form .radio-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.regist-form .radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.regist-form .radio-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* Image Thumbnail */
.regist-form .img-thumbnail {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px;
    background: #fff;
}

/* Summernote Override */
.note-editor.note-frame {
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.note-editor .note-toolbar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 8px !important;
}

.note-editor .note-editing-area {
    background: #fff !important;
}

.note-editor .note-editable {
    padding: 16px !important;
    font-size: 15px !important;
}

/* Company Popup Override */
#company-select-popup .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Responsive Account Pages */
@media screen and (max-width: 960px) {
    .regist-page,
    .company-regist-page {
        max-width: 100%;
        padding: 50px 30px 70px;
    }
}

@media screen and (max-width: 640px) {
    .login-page,
    .regist-page,
    .company-regist-page {
        padding: 40px 16px 60px;
    }

    .login-form,
    .regist-form {
        padding: 24px 20px;
    }

    .login-page .title,
    .regist-page .title,
    .company-regist-page .title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .login-page .title span,
    .regist-page .title span {
        display: block;
        margin-left: 0;
        margin-top: 12px;
    }

    .regist-form .company-search {
        flex-direction: column;
    }

    .regist-form .company-search .search-btn {
        width: 100%;
    }

    .login-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ========================================
   Company Search Modal Redesign
   ======================================== */

/* Modal Overlay */
.modal-overlay.company-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup-layer.company-search {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.popup-layer.company-search.open {
    display: block;
}

.popup-layer.company-search .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.popup-layer.company-search .close-btn::before,
.popup-layer.company-search .close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #6b7280;
    border-radius: 1px;
}

.popup-layer.company-search .close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup-layer.company-search .close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-layer.company-search .close-btn:hover {
    background: #e5e7eb;
}

.popup-layer.company-search .close-btn:hover::before,
.popup-layer.company-search .close-btn:hover::after {
    background: #374151;
}

.popup-layer.company-search .popup-head {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 28px 30px;
    text-align: center;
}

.popup-layer.company-search .popup-head .popup-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.popup-layer.company-search .popup-head .popup-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.popup-layer.company-search .popup-body {
    padding: 28px 30px 30px;
    background: #fff;
}

.popup-layer.company-search .search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.popup-layer.company-search .search-form label {
    display: none;
}

.popup-layer.company-search .search-form input[type="text"] {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    outline: none;
    transition: all 0.2s;
}

.popup-layer.company-search .search-form input[type="text"]:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.popup-layer.company-search .search-form input[type="text"]::placeholder {
    color: #9ca3af;
}

.popup-layer.company-search .search-form .btn,
.popup-layer.company-search .search-form .search-btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-layer.company-search .search-form .btn:hover,
.popup-layer.company-search .search-form .search-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.popup-layer.company-search .search-result {
    margin-top: 0;
}

.popup-layer.company-search .search-result ul {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
}

.popup-layer.company-search .search-result ul::-webkit-scrollbar {
    width: 6px;
}

.popup-layer.company-search .search-result ul::-webkit-scrollbar-track {
    background: transparent;
}

.popup-layer.company-search .search-result ul::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.popup-layer.company-search .search-result ul li {
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
}

.popup-layer.company-search .search-result ul li:last-child {
    border-bottom: none;
}

.popup-layer.company-search .search-result ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
}

.popup-layer.company-search .search-result ul li a:hover {
    background: #eff6ff;
    color: #2563eb;
}

.popup-layer.company-search .regist-info-text {
    margin-top: 16px;
    padding: 14px;
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
}

.popup-layer.company-search .regist-info-text p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.popup-layer.company-search .regist-info-text a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.popup-layer.company-search .regist-info-text a:hover {
    color: #1d4ed8;
}


/* Modal Responsive */
@media screen and (max-width: 540px) {
    .popup-layer.company-search {
        width: 95%;
        border-radius: 16px;
    }

    .popup-layer.company-search .popup-head {
        padding: 24px 20px;
    }

    .popup-layer.company-search .popup-head .popup-title {
        font-size: 20px;
    }

    .popup-layer.company-search .popup-body {
        padding: 20px;
    }

    .popup-layer.company-search .search-form {
        flex-direction: column;
    }

    .popup-layer.company-search .search-form .btn,
    .popup-layer.company-search .search-form .search-btn {
        width: 100%;
    }

    .popup-layer.company-search .search-result ul {
        max-height: 220px;
    }
}

/* === REGISTRATION TYPE PAGE === */
main .container.reg-type-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 120px;
}

main .container.reg-type-page h2.title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 56px;
    background: none;
    padding-bottom: 0;
}

main .container.reg-type-page .reg-types {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 0;
}

main .container.reg-type-page .reg-types .reg-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 180px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

main .container.reg-type-page .reg-types .reg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

main .container.reg-type-page .reg-types .reg-card.attendees {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
}

main .container.reg-type-page .reg-types .reg-card.attendees::before {
    background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
}

main .container.reg-type-page .reg-types .reg-card.partners {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

main .container.reg-type-page .reg-types .reg-card.partners::before {
    background: linear-gradient(135deg, #7f7fd5 0%, #86a8e7 50%, #91eae4 100%);
}

main .container.reg-type-page .reg-types .reg-card span {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

main .container.reg-type-page .reg-types .reg-card span::after {
    display: none;
}

main .container.reg-type-page .reg-types .reg-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

main .container.reg-type-page .reg-types .reg-card:hover::before {
    opacity: 1;
}

main .container.reg-type-page .reg-types .reg-card:hover span {
    transform: scale(1.05);
}

main .container.reg-type-page .reg-types .reg-card:active {
    transform: translateY(-4px) scale(1.01);
}

@media screen and (max-width: 700px) {
    main .container.reg-type-page {
        padding: 60px 20px 80px;
    }

    main .container.reg-type-page h2.title {
        font-size: 2.2rem;
    }

    main .container.reg-type-page .reg-types {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    main .container.reg-type-page .reg-types .reg-card {
        width: 100%;
        max-width: 340px;
        height: 140px;
    }

    main .container.reg-type-page .reg-types .reg-card span {
        font-size: 2rem;
    }
}
