/* 전자서명 서비스 히어로 섹션 */
.esign-hero {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.3);
}

.esign-hero .webtools-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 2.5rem;
    color: white !important;
    gap: 1rem;
}

.esign-hero .webtools-icon {
    color: white !important;
    font-size: 2.5rem;
    margin: 0;
    flex-shrink: 0;
}

.esign-hero .webtools-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin: 1rem auto 0 auto !important;
    font-size: 1.1rem;
    text-align: center !important;
    display: block;
    max-width: 90%;
}

/* 서명 캔버스 영역 */
.esign-canvas-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px dashed #dee2e6;
    position: relative;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.esign-canvas-container:hover {
    border-color: #198754;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.1);
}

.esign-canvas {
    width: 100%;
    height: 200px;
    border: none;
    cursor: crosshair;
    display: block;
    background: transparent;
}

.esign-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 1.1rem;
    pointer-events: none;
    text-align: center;
}

.esign-hint i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* 버튼 스타일 */
.esign-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.esign-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.esign-btn-save {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.esign-btn-save:hover {
    background: linear-gradient(135deg, #146c43 0%, #0f5132 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white;
}

.esign-btn-clear {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.esign-btn-clear:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: white;
}

/* 정보 섹션 */
.esign-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.esign-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #198754;
}

.esign-info-item:last-child {
    margin-bottom: 0;
}

.esign-info-icon {
    color: #198754;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.esign-info-text {
    flex: 1;
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

/* FAQ 스타일 */
.esign-faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e5e8ec;
}

.esign-faq-question {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 1rem 1.25rem;
    font-weight: 600;
    margin: 0;
    border-bottom: 1px solid #e5e8ec;
}

.esign-faq-answer {
    padding: 1.25rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.esign-faq-answer ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.esign-faq-answer li {
    margin-bottom: 0.5rem;
}

/* 반응형 최적화 */
@media (max-width: 768px) {
    .esign-hero {
        padding: 1.5rem 1rem;
    }
    
    .esign-hero .webtools-title {
        font-size: 2rem;
        gap: 0.75rem;
    }
    
    .esign-hero .webtools-icon {
        font-size: 2rem;
    }
    
    .esign-hero .webtools-subtitle {
        font-size: 1rem;
        margin-top: 0.75rem !important;
    }
    
    .esign-canvas-container {
        padding: 1rem;
    }
    
    .esign-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .esign-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .esign-info-section {
        padding: 1rem;
    }
    
    .esign-info-item {
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {
    .esign-hero {
        padding: 1rem 0.75rem;
    }
    
    .esign-hero .webtools-title {
        font-size: 1.75rem;
        gap: 0.5rem;
    }
    
    .esign-hero .webtools-icon {
        font-size: 1.75rem;
    }
    
    .esign-hero .webtools-subtitle {
        font-size: 0.9rem;
        margin-top: 0.5rem !important;
    }
    
    .esign-canvas {
        height: 180px;
    }
    
    .esign-hint {
        font-size: 1rem;
    }
    
    .esign-hint i {
        font-size: 1.5rem;
    }
}