:root {
    --primary-color: #6366f1;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --text-color: #1f2937;
    --border-color: #e5e7eb;
  }
  
  body {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  
  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
  }
  
  header h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
  }
  
  .btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn:hover {
    opacity: 0.9;
  }
  
  .btn-cancel {
    background-color: #f3f4f6;
    color: #6b7280;
    margin-right: 8px;
  }
  
  .notice {
    background-color: #f8fafc;
    border-left: 4px solid #94a3b8;
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    color: #475569;
  }
  
  .write-form {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #4b5563;
  }
  
  .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  }
  
  textarea.form-control {
    min-height: 200px;
    resize: vertical;
  }
  
  .form-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
  }
  
  .form-preview {
    margin-top: 8px;
    padding: 10px;
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    background-color: #f9fafb;
    font-size: 14px;
    color: #6b7280;
    min-height: 30px;
    display: none;
  }
  
  .form-preview img {
    max-width: 100%;
    max-height: 300px;
    display: block;
  }
  
  .form-preview video {
    max-width: 100%;
    max-height: 300px;
    display: block;
  }
  
  .form-preview a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .form-preview a:hover {
    text-decoration: underline;
  }
  
  .link-type {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .link-type label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
  }
  
  .link-type input {
    margin-right: 4px;
  }
  
  .preview-container {
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }
  
  .preview-title {
    font-weight: 500;
    margin-bottom: 12px;
    color: #4b5563;
  }

  .hidden {
    display: none;
  }
  
  
  @media (max-width: 768px) {
    .container {
      padding: 16px;
    }
  }