:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --error-color: #e74c3c;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
  }
  
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  
  header p {
    font-size: 1.2rem;
    color: #666;
  }
  
  .form-container, .result-container, .password-container {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  input[type="url"], input[type="text"], input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
  }
  
  .custom-url-input {
    display: flex;
    align-items: center;
  }
  
  .custom-url-input span {
    padding: 0.8rem;
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #666;
  }
  
  .custom-url-input input {
    border-radius: 0 4px 4px 0;
    flex: 1;
  }
  
  .btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
  }

  .btn-logout {
    display: inline-block;
    background-color: var(--error-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
  }
  
  .hidden {
    display: none;
  }
  
  .result-url {
    display: flex;
    margin-bottom: 1rem;
  }
  
  .result-url input {
    flex: 1;
    margin-right: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .btn-copy {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
  }
  
  .btn-copy:hover {
    opacity: 0.9;
  }
  
  .error-message {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .error-page {
    text-align: center;
  }
  
  .error-page h2 {
    margin-bottom: 1rem;
    color: var(--error-color);
  }
  
  .error-page p {
    margin-bottom: 2rem;
  }
  
  footer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 2rem;
  }
  
  @media (max-width: 600px) {
    .container {
      padding: 1rem;
    }
    
    .form-container, .result-container, .password-container {
      padding: 1.5rem;
    }
  }

  .manage-container {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }
  
  .notification {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    background-color: #d4edda;
    color: #155724;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }
  
  th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  th {
    background-color: #f2f2f2;
  }
  
  tbody tr:hover {
    background-color: #f9f9f9;
  }
  
  a{
    text-decoration: none;
  }

  .url-actions {
    display: flex;
    gap: 0.5rem;
  }
  
  .url-actions form {
    margin: 0;
  }
  
  .btn-edit {
    background-color: #6e9151;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.8rem;
  }

  .btn-delete {
    background-color: #ff7300;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.8rem;
  }

  .btn-modify {
    background-color: #6e9151;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    text-decoration: none;
    font-size:1rem;
  }
  .btn-cancel {
    background-color: #95a5a6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }
  
  .btn-cancel:hover {
    background-color: #7f8c8d;
  }
  .empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
  }
   
  .short-url {
    word-break: break-all;
  }
  
  .original-url {
    word-break: break-all;
    max-width: 300px;
  }

  .text-small{
    font-size:0.4em;
  }

  .edit-container {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }
  
  .nav-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: space-between; /* 좌우로 요소를 떨어뜨림 */
  }
  

  
  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }