first commit 2

This commit is contained in:
hmw1001
2026-06-11 18:47:38 +09:00
parent c768729ce6
commit 6f534e33a6
11095 changed files with 1595758 additions and 0 deletions
+391
View File
@@ -0,0 +1,391 @@
/* 통계 페이지 스타일 */
.statistics-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.stats-header {
background: linear-gradient(135deg, #AA20FF 0%, #8A1ACC 100%);
color: white;
padding: 30px;
border-radius: 15px;
margin-bottom: 30px;
text-align: center;
}
.stats-header h1 {
margin: 0 0 10px 0;
font-size: 2.2em;
}
.stats-header p {
margin: 0;
opacity: 0.9;
}
.stats-overview {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
text-align: center;
border-left: 4px solid #AA20FF;
transition: all 0.3s ease;
}
.stat-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.stat-number {
font-size: 2.5em;
font-weight: 700;
color: #AA20FF;
margin-bottom: 8px;
line-height: 1;
}
.stat-label {
color: #666;
font-size: 0.9em;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-change {
font-size: 0.8em;
margin-top: 5px;
}
.stat-change.positive {
color: #28a745;
}
.stat-change.negative {
color: #dc3545;
}
.chart-section {
background: white;
border-radius: 15px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.chart-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid #e9ecef;
}
.chart-title {
font-size: 1.4em;
font-weight: 600;
color: #333;
margin: 0;
}
.chart-controls {
display: flex;
gap: 10px;
}
.chart-btn {
padding: 6px 12px;
border: 1px solid #ddd;
background: white;
border-radius: 5px;
cursor: pointer;
font-size: 0.8em;
transition: all 0.3s ease;
}
.chart-btn.active,
.chart-btn:hover {
background: #AA20FF;
color: white;
border-color: #AA20FF;
}
.chart-container {
position: relative;
height: 400px;
margin-bottom: 20px;
}
.questions-stats {
display: grid;
gap: 30px;
}
.question-stat {
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.question-header {
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid #e9ecef;
}
.question-number {
display: inline-block;
width: 30px;
height: 30px;
background: #AA20FF;
color: white;
border-radius: 50%;
text-align: center;
line-height: 30px;
font-weight: bold;
font-size: 0.9em;
margin-right: 15px;
}
.question-title {
font-size: 1.2em;
font-weight: 600;
color: #333;
display: inline;
}
.question-type {
display: inline-block;
padding: 3px 8px;
background: #e9ecef;
color: #666;
border-radius: 12px;
font-size: 0.7em;
font-weight: 500;
text-transform: uppercase;
margin-left: 10px;
}
.question-stats-grid {
display: grid;
grid-template-columns: 1fr 300px;
gap: 30px;
align-items: start;
}
.answer-stats {
display: flex;
flex-direction: column;
gap: 15px;
}
.answer-item {
display: flex;
align-items: center;
gap: 15px;
padding: 15px;
background: #fff;
border-radius: 10px;
transition: all 0.3s ease;
}
.answer-item:hover {
background: #e9ecef;
}
.answer-bar {
flex: 1;
height: 8px;
background: #e0e0e0;
border-radius: 4px;
overflow: hidden;
position: relative;
}
.answer-fill {
height: 100%;
background: linear-gradient(90deg, #AA20FF 0%, #8A1ACC 100%);
border-radius: 4px;
transition: width 0.5s ease;
}
.answer-label {
min-width: 150px;
font-weight: 500;
color: #333;
}
.answer-count {
min-width: 80px;
text-align: right;
font-weight: 600;
color: #666;
}
.answer-percentage {
min-width: 50px;
text-align: right;
font-size: 0.9em;
color: #AA20FF;
font-weight: 600;
}
.question-chart {
height: 250px;
}
.text-responses {
max-height: 300px;
overflow-y: auto;
border: 1px solid #e0e0e0;
border-radius: 8px;
}
.text-response {
padding: 15px;
border-bottom: 1px solid #f0f0f0;
line-height: 1.5;
}
.text-response:last-child {
border-bottom: none;
}
.text-response-meta {
font-size: 0.8em;
color: #666;
margin-bottom: 8px;
}
.text-response-content {
color: #333;
}
.export-section {
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
text-align: center;
}
.export-buttons {
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}
.export-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: #AA20FF;
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.export-btn:hover {
background: #8A1ACC;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(170, 32, 255, 0.3);
color: white;
}
.export-btn.secondary {
background: #6c757d;
}
.export-btn.secondary:hover {
background: #545b62;
}
/* 반응형 */
@media (max-width: 768px) {
.statistics-container {
padding: 10px;
}
.stats-overview {
grid-template-columns: 1fr;
}
.question-stats-grid {
grid-template-columns: 1fr;
}
.chart-header {
flex-direction: column;
gap: 15px;
align-items: flex-start;
}
.export-buttons {
flex-direction: column;
align-items: center;
}
.export-btn {
width: 100%;
max-width: 250px;
justify-content: center;
}
.answer-item {
flex-direction: column;
align-items: stretch;
gap: 10px;
}
.answer-label,
.answer-count,
.answer-percentage {
min-width: auto;
text-align: left;
}
}
/* 애니메이션 */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.stat-card,
.chart-section,
.question-stat {
animation: fadeInUp 0.6s ease forwards;
}
.stat-card:nth-child(even) {
animation-delay: 0.1s;
}
.question-stat:nth-child(even) {
animation-delay: 0.2s;
}
+220
View File
@@ -0,0 +1,220 @@
/* 설문 관리 관리자 스타일 */
.status-badge {
padding: 4px 12px;
border-radius: 12px;
font-size: 0.8em;
font-weight: 500;
text-transform: uppercase;
}
.status-draft {
background: #e9ecef;
color: #495057;
}
.status-active {
background: #d4edda;
color: #155724;
}
.status-closed {
background: #f8d7da;
color: #721c24;
}
.status-deleted {
background: #d1ecf1;
color: #0c5460;
}
/* 공통 버튼 스타일 */
.btn {
display: inline-block;
padding: 8px 16px;
border: none;
border-radius: 4px;
text-decoration: none;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-primary {
background: #AA20FF;
color: white;
}
.btn-primary:hover {
background: #8A1ACC;
color: white;
}
.btn-success {
background: #28a745;
color: white;
}
.btn-success:hover {
background: #218838;
color: white;
}
.btn-warning {
background: #ffc107;
color: #212529;
}
.btn-warning:hover {
background: #e0a800;
color: #212529;
}
.btn-danger {
background: #dc3545;
color: white;
}
.btn-danger:hover {
background: #c82333;
color: white;
}
.btn-info {
background: #17a2b8;
color: white;
}
.btn-info:hover {
background: #138496;
color: white;
}
/* 알림 스타일 */
.alert {
padding: 15px;
margin: 20px 0;
border-radius: 5px;
}
.alert-success {
background-color: #d4edda;
border: 1px solid #c3e6cb;
color: #155724;
}
.alert-danger {
background-color: #f8d7da;
border: 1px solid #f5c6cb;
color: #721c24;
}
.alert-warning {
background-color: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
}
.alert-info {
background-color: #d1ecf1;
border: 1px solid #bee5eb;
color: #0c5460;
}
/* 테이블 스타일 */
.table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.table th,
.table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #dee2e6;
}
.table th {
background-color: #fff;
font-weight: 600;
}
.table tbody tr:hover {
background-color: #f5f5f5;
}
/* 폼 스타일 */
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
font-weight: 600;
margin-bottom: 5px;
color: #333;
}
.form-control {
width: 100%;
padding: 10px 12px;
border: 1px solid #ced4da;
border-radius: 4px;
font-size: 1em;
}
.form-control:focus {
outline: none;
border-color: #AA20FF;
box-shadow: 0 0 0 2px rgba(170, 32, 255, 0.25);
}
/* 셀렉트 박스 스타일 수정 */
select {
height: 43px !important;
line-height: 41px !important;
border: 1px solid #d5d5d5 !important;
padding: 8px 12px !important;
font-size: 1em !important;
background-color: #fff !important;
}
.form-select,
.question-type-select {
height: 43px !important;
line-height: 41px !important;
border: 1px solid #d5d5d5 !important;
padding: 8px 12px !important;
font-size: 1em !important;
background-color: #fff !important;
}
/* 설문 폼 내의 모든 셀렉트 박스 */
.survey-form-container select,
.template-form-container select {
height: 43px !important;
line-height: 41px !important;
border: 1px solid #d5d5d5 !important;
padding: 8px 12px !important;
font-size: 1em !important;
background-color: #fff !important;
vertical-align: middle !important;
}
/* 반응형 */
@media (max-width: 768px) {
.btn {
padding: 6px 12px;
font-size: 0.9em;
}
.table {
font-size: 0.9em;
}
.table th,
.table td {
padding: 8px;
}
}
+380
View File
@@ -0,0 +1,380 @@
/* 설문 작성/수정 폼 스타일 */
.survey-form-container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
.form-header {
background: linear-gradient(135deg, #AA20FF 0%, #8A1ACC 100%);
color: white;
padding: 30px;
border-radius: 15px;
margin-bottom: 30px;
text-align: center;
}
.form-header h1 {
margin: 0 0 10px 0;
font-size: 2.2em;
}
.form-tabs {
display: flex;
background: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
margin-bottom: 20px;
overflow: hidden;
}
.form-tab {
flex: 1;
padding: 15px 20px;
background: #fff;
border: none;
cursor: pointer;
font-size: 1em;
font-weight: 600;
transition: all 0.3s ease;
position: relative;
}
.form-tab.active {
background: #AA20FF;
color: white;
}
.form-tab:not(.active):hover {
background: #e9ecef;
}
.tab-content {
display: none;
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.tab-content.active {
display: block;
}
.form-group {
margin-bottom: 25px;
}
.form-label {
display: block;
font-weight: 600;
color: #333;
margin-bottom: 8px;
font-size: 1em;
}
.form-label.required::after {
content: ' *';
color: #e74c3c;
}
.form-input,
.form-textarea,
.form-select {
width: 100%;
padding: 12px 15px;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 1em;
transition: all 0.3s ease;
background: #fafafa;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
outline: none;
border-color: #AA20FF;
background: white;
box-shadow: 0 0 0 3px rgba(170, 32, 255, 0.1);
}
.form-textarea {
min-height: 100px;
resize: vertical;
}
.form-row {
display: flex;
gap: 20px;
}
.form-col {
flex: 1;
}
.checkbox-group {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.checkbox-item {
display: flex;
align-items: center;
gap: 8px;
}
.checkbox-item input[type="checkbox"] {
transform: scale(1.2);
accent-color: #AA20FF;
}
.color-picker {
width: 60px;
height: 40px;
border: none;
border-radius: 8px;
cursor: pointer;
}
/* 템플릿 선택 섹션 */
.template-section {
background: #fff;
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
}
.template-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin-top: 15px;
}
.template-card {
background: white;
padding: 20px;
border-radius: 10px;
border: 2px solid #e0e0e0;
cursor: pointer;
transition: all 0.3s ease;
}
.template-card:hover {
border-color: #AA20FF;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.template-card.selected {
border-color: #AA20FF;
background: rgba(170, 32, 255, 0.05);
}
/* 질문 관리 섹션 */
.questions-container {
margin-top: 20px;
}
.question-item {
background: #fff;
border: 2px solid #e0e0e0;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
position: relative;
}
.question-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.question-number {
background: #AA20FF;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin-right: 15px;
}
.question-controls {
display: flex;
gap: 10px;
}
.btn-sm {
padding: 5px 10px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 0.8em;
transition: all 0.3s ease;
}
.btn-danger {
background: #dc3545;
color: white;
}
.btn-secondary {
background: #6c757d;
color: white;
}
.btn-sm:hover {
transform: translateY(-1px);
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.question-type-select {
margin-bottom: 15px;
}
.options-container {
margin-top: 15px;
}
.option-item {
display: flex;
gap: 10px;
align-items: center;
margin-bottom: 10px;
}
.option-input {
flex: 1;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 5px;
}
.add-option-btn {
background: #28a745;
color: white;
border: none;
padding: 8px 15px;
border-radius: 5px;
cursor: pointer;
font-size: 0.9em;
}
.add-question-btn {
width: 100%;
padding: 15px;
background: #AA20FF;
color: white;
border: none;
border-radius: 10px;
font-size: 1.1em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 20px;
}
.add-question-btn:hover {
background: #8A1ACC;
transform: translateY(-2px);
}
/* 폼 액션 버튼 */
.form-actions {
display: flex;
gap: 15px;
justify-content: center;
padding: 20px;
background: white;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn {
padding: 12px 30px;
border: none;
border-radius: 8px;
font-size: 1em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
text-align: center;
}
.btn-primary {
background: #AA20FF;
color: white;
}
.btn-success {
background: #28a745;
color: white;
}
.btn-secondary {
background: #6c757d;
color: white;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.help-text {
font-size: 0.9em;
color: #666;
margin-top: 5px;
line-height: 1.4;
}
/* 셀렉트 박스 높이 수정 */
select,
.form-select,
.question-type-select {
height: 43px !important;
line-height: 41px !important;
padding: 8px 12px !important;
vertical-align: middle !important;
}
/* 반응형 */
@media (max-width: 768px) {
.survey-form-container {
padding: 10px;
}
.form-row {
flex-direction: column;
}
.form-tabs {
flex-direction: column;
}
.template-grid {
grid-template-columns: 1fr;
}
.form-actions {
flex-direction: column;
}
.question-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
}
+290
View File
@@ -0,0 +1,290 @@
/* 템플릿 작성/수정 폼 스타일 */
.template-form-container {
max-width: 1000px;
margin: 0 auto;
}
.form-header {
background: linear-gradient(135deg, #AA20FF 0%, #8A1ACC 100%);
color: white;
padding: 30px;
border-radius: 8px 8px 0 0;
text-align: center;
}
.form-content {
background: white;
padding: 30px;
border-radius: 0 0 8px 8px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.form-section {
margin-bottom: 40px;
padding-bottom: 30px;
border-bottom: 1px solid #e9ecef;
}
.form-section:last-child {
border-bottom: none;
margin-bottom: 0;
}
.section-title {
font-size: 1.3em;
font-weight: 600;
color: #333;
margin-bottom: 20px;
display: flex;
align-items: center;
}
.section-title i {
margin-right: 10px;
color: #AA20FF;
}
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
font-weight: 600;
color: #333;
margin-bottom: 8px;
}
.form-label.required::after {
content: ' *';
color: #dc3545;
}
.form-control {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 1em;
transition: border-color 0.3s;
}
.form-control:focus {
outline: none;
border-color: #AA20FF;
box-shadow: 0 0 0 3px rgba(170, 32, 255, 0.1);
}
.form-select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 12px center;
background-repeat: no-repeat;
background-size: 16px 12px;
padding-right: 40px;
height: 43px !important;
line-height: 41px !important;
}
.questions-container {
border: 2px dashed #ddd;
border-radius: 8px;
padding: 20px;
min-height: 200px;
}
.question-item {
background: #fff;
border: 1px solid #e9ecef;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
position: relative;
}
.question-header {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.question-number {
background: #AA20FF;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
margin-right: 15px;
font-size: 0.9em;
}
.question-actions {
margin-left: auto;
display: flex;
gap: 10px;
}
.btn-sm {
padding: 6px 12px;
font-size: 0.85em;
border-radius: 4px;
border: none;
cursor: pointer;
transition: all 0.3s;
}
.btn-danger {
background: #dc3545;
color: white;
}
.btn-danger:hover {
background: #c82333;
}
.btn-secondary {
background: #6c757d;
color: white;
}
.btn-secondary:hover {
background: #545b62;
}
.form-row {
display: flex;
gap: 15px;
align-items: end;
}
.form-row .form-group {
flex: 1;
margin-bottom: 0;
}
.options-container {
margin-top: 15px;
}
.option-item {
display: flex;
align-items: center;
margin-bottom: 10px;
gap: 10px;
}
.option-input {
flex: 1;
}
.btn-add-option {
background: #28a745;
color: white;
border: none;
padding: 8px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 0.9em;
}
.btn-add-option:hover {
background: #218838;
}
.btn-add-question {
width: 100%;
padding: 15px;
background: #AA20FF;
color: white;
border: none;
border-radius: 6px;
font-size: 1em;
font-weight: 500;
cursor: pointer;
transition: background 0.3s;
}
.btn-add-question:hover {
background: #8A1ACC;
}
.form-actions {
text-align: center;
padding-top: 30px;
border-top: 1px solid #e9ecef;
margin-top: 30px;
}
.btn-primary {
background: #AA20FF;
color: white;
padding: 12px 30px;
border: none;
border-radius: 6px;
font-size: 1em;
font-weight: 500;
cursor: pointer;
margin: 0 10px;
transition: background 0.3s;
}
.btn-primary:hover {
background: #8A1ACC;
}
.btn-outline {
background: transparent;
color: #6c757d;
border: 1px solid #6c757d;
}
.btn-outline:hover {
background: #6c757d;
color: white;
}
.empty-questions {
text-align: center;
color: #666;
padding: 40px 20px;
}
.empty-questions i {
font-size: 3em;
margin-bottom: 15px;
opacity: 0.3;
}
/* 반응형 */
@media (max-width: 768px) {
.template-form-container {
margin: 10px;
}
.form-content {
padding: 20px;
}
.form-row {
flex-direction: column;
gap: 0;
}
.form-row .form-group {
margin-bottom: 15px;
}
.question-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.question-actions {
margin-left: 0;
}
}
+231
View File
@@ -0,0 +1,231 @@
/* 템플릿 목록 페이지 스타일 */
.template-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding: 20px;
background: linear-gradient(135deg, #AA20FF 0%, #8A1ACC 100%);
color: white;
border-radius: 8px;
}
.template-stats {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.stat-card {
flex: 1;
padding: 20px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
text-align: center;
border-left: 4px solid #AA20FF;
}
.stat-number {
font-size: 2em;
font-weight: bold;
color: #AA20FF;
margin-bottom: 5px;
}
.stat-label {
color: #666;
font-size: 0.9em;
}
.category-filter {
display: flex;
gap: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.category-btn {
padding: 8px 16px;
border: 1px solid #ddd;
background: white;
color: #666;
text-decoration: none;
border-radius: 20px;
font-size: 0.9em;
transition: all 0.3s;
}
.category-btn:hover,
.category-btn.active {
background: #AA20FF;
color: white;
border-color: #AA20FF;
}
.template-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.template-card {
background: white;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
transition: all 0.3s ease;
border: 2px solid transparent;
}
.template-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
border-color: #AA20FF;
}
.template-card-header {
margin-bottom: 15px;
}
.template-title {
font-size: 1.3em;
font-weight: 600;
color: #333;
margin-bottom: 8px;
}
.template-category {
display: inline-block;
padding: 4px 12px;
background: #e9ecef;
color: #666;
border-radius: 12px;
font-size: 0.8em;
font-weight: 500;
}
.template-description {
color: #666;
line-height: 1.5;
margin-bottom: 15px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.template-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.9em;
color: #888;
margin-bottom: 15px;
}
.template-actions {
display: flex;
gap: 10px;
}
.btn-template {
flex: 1;
padding: 10px 15px;
border: none;
border-radius: 6px;
font-size: 0.9em;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
text-align: center;
}
.btn-use {
background: #AA20FF;
color: white;
}
.btn-use:hover {
background: #8A1ACC;
color: white;
}
.btn-preview {
background: #fff;
color: #666;
border: 1px solid #e0e0e0;
}
.btn-preview:hover {
background: #e9ecef;
color: #333;
}
.search-form {
background: white;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.search-form .form-row {
display: flex;
gap: 10px;
align-items: center;
}
.search-form select,
.search-form input {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
}
.create-btn {
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
height: 60px;
background: #AA20FF;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 1.5em;
box-shadow: 0 4px 12px rgba(170, 32, 255, 0.3);
transition: all 0.3s;
z-index: 1000;
}
.create-btn:hover {
background: #8A1ACC;
transform: scale(1.1);
color: white;
}
/* 반응형 */
@media (max-width: 768px) {
.template-grid {
grid-template-columns: 1fr;
}
.template-stats {
flex-direction: column;
}
.category-filter {
justify-content: center;
}
.search-form .form-row {
flex-direction: column;
}
}