 /* Variables */
 :root {
     --main-color: #245FE5;
     --button-color: #EA7317;
     --light-bg: #f8f9fa;
     --white: #ffffff;
     --gray-light: #e9ecef;
     --gray: #6c757d;
     --gray-dark: #495057;
     --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
     --border-radius: 8px;
     --transition: all 0.3s ease;
 }

 /* Contents Layout */
 #contents {
     max-width: 1200px;
     margin: 0 auto;
     padding: 2rem;
     min-height: 100vh;
 }

 .contents_inline {
     display: grid;
     grid-template-columns: 1fr 300px;
     gap: 2rem;
 }

 .contents_m {
     min-height: 400px;
 }

 .contents_s {
     background: var(--white);
     border-radius: var(--border-radius);
     box-shadow: var(--shadow);
     height: fit-content;
     position: sticky;
     top: 2rem;
 }

 /* Page Title */
 .contents_m>h2 {
     font-size: 2.2rem;
     color: var(--gray-dark);
     margin-bottom: 2rem;
     font-weight: 700;
     text-align: center;
     position: relative;
 }

 .contents_m>h2::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 60px;
     height: 3px;
     background: linear-gradient(135deg, var(--main-color) 0%, var(--button-color) 100%);
     border-radius: 2px;
 }

 /* Main Container */
 .main {
     background: var(--white);
     border-radius: 12px;
     box-shadow: var(--shadow);
     overflow: hidden;
     margin-bottom: 2rem;
 }

 /* Search Table */
 .search_table {
     padding: 2rem;
 }

 .search_table table {
     width: 100%;
     border-collapse: separate;
     border-spacing: 0;
     margin-bottom: 2rem;
 }

 .search_table th {
     background: linear-gradient(135deg, var(--main-color) 0%, #1a4bb8 100%);
     color: var(--white);
     padding: 1.5rem 2rem;
     text-align: left;
     font-weight: 600;
     font-size: 0.95rem;
     border: none;
     vertical-align: top;
     white-space: nowrap;
     width: 160px;
 }

 .search_table td {
     background: var(--white);
     padding: 1.5rem 2rem;
     border: 1px solid var(--gray-light);
     border-left: none;
     vertical-align: top;
 }

 .search_table tbody tr:first-child th:first-child {
     border-radius: 12px 0 0 0;
 }

 .search_table tbody tr:first-child td:last-child {
     border-radius: 0 12px 0 0;
 }

 .search_table tbody tr:last-child th:first-child {
     border-radius: 0 0 0 12px;
 }

 .search_table tbody tr:last-child td:last-child {
     border-radius: 0 0 12px 0;
 }

 .search_table tbody tr {
     transition: var(--transition);
 }

 .search_table tbody tr:hover td {
     background: rgba(36, 95, 229, 0.02);
 }

 /* Input Fields */
 .search_table input[type="text"] {
     width: 100%;
     padding: 0.75rem 1rem;
     border: 2px solid var(--gray-light);
     border-radius: var(--border-radius);
     font-size: 0.95rem;
     font-family: inherit;
     transition: var(--transition);
     background: var(--white);
 }

 .search_table input[name="salary_low"],
 .search_table input[name="salary_high"] {
     max-width: 150px;
 }
 @media (max-width:768px) {
   .search_table input[name="salary_low"],
   .search_table input[name="salary_high"] {
    max-width: 108px;
   }
 }

 .search_table input[type="text"]:focus {
     outline: none;
     border-color: var(--main-color);
     box-shadow: 0 0 0 3px rgba(36, 95, 229, 0.1);
 }

 /* Checkbox Styles */
 .label3 {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 1rem;
     margin-top: 1rem;
 }

 .label3 label {
     display: flex;
     align-items: center;
     padding: 0.75rem 1rem;
     border-radius: var(--border-radius);
     transition: var(--transition);
     cursor: pointer;
     font-size: 0.9rem;
     background: rgba(36, 95, 229, 0.02);
     border: 1px solid rgba(36, 95, 229, 0.1);
 }

 .label3 label:hover {
     background: rgba(36, 95, 229, 0.05);
     border-color: rgba(36, 95, 229, 0.2);
 }

 .label3 input[type="checkbox"] {
     margin-right: 0.75rem;
     width: 18px;
     height: 18px;
     accent-color: var(--main-color);
 }

 .label3 input[type="checkbox"]:checked+span {
     color: var(--main-color);
     font-weight: 500;
 }

 /* Button Container */
 .button {
     text-align: center;
     padding-top: 1.5rem;
     border-top: 2px solid var(--gray-light);
 }

 /* Search Button */
 .btn_search {
     background: linear-gradient(135deg, var(--button-color) 0%, #d66013 100%);
     color: var(--white);
     border: none;
     padding: 1rem 2.5rem;
     font-size: 1.1rem;
     font-weight: 700;
     border-radius: 30px;
     cursor: pointer;
     transition: var(--transition);
     box-shadow: 0 4px 15px rgba(234, 115, 23, 0.3);
     position: relative;
     overflow: hidden;
 }

 .btn_search:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(234, 115, 23, 0.4);
     background: linear-gradient(135deg, #d66013 0%, #c55511 100%);
 }

 .btn_search::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 0;
     height: 0;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     transform: translate(-50%, -50%);
     transition: width 0.3s, height 0.3s;
 }

 .btn_search:hover::before {
     width: 300px;
     height: 300px;
 }

 /* Message Box */
 .message {
     background: linear-gradient(135deg, rgba(36, 95, 229, 0.05) 0%, rgba(234, 115, 23, 0.05) 100%);
     border: 1px solid rgba(36, 95, 229, 0.1);
     border-radius: 12px;
     padding: 2rem;
     text-align: center;
     margin-top: 2rem;
 }

 .message p {
     color: var(--gray-dark);
     font-size: 1.1rem;
     margin-bottom: 1rem;
 }

 .message ul {
     list-style: none;
 }

 .message a {
     color: var(--main-color);
     text-decoration: none;
     font-weight: 600;
     transition: var(--transition);
 }

 .message a:hover {
     color: var(--button-color);
 }

 /* Sidebar Styles */
 .contents_box {
     margin-bottom: 1.5rem;
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow);
     transition: var(--transition);
 }

 .contents_box:hover {
     box-shadow: var(--shadow-hover);
 }

 .contents_box h2 {
     background: linear-gradient(135deg, var(--main-color) 0%, #1a4bb8 100%);
     color: var(--white);
     padding: 1rem 1.5rem;
     margin: 0;
     font-size: 1.1rem;
     font-weight: 600;
     position: relative;
 }

 .contents_box .body {
     padding: 1.5rem;
     background: var(--white);
 }

 /* Login Form */
 .login dl {
     margin-bottom: 1rem;
 }

 .login dt {
     margin-bottom: 0.5rem;
     font-weight: 500;
     color: var(--gray-dark);
 }

 .login dd {
     margin-bottom: 1rem;
 }

 .login input[type="text"],
 .login input[type="password"] {
     width: 100%;
     padding: 0.75rem;
     border: 2px solid var(--gray-light);
     border-radius: var(--border-radius);
     transition: var(--transition);
 }

 .login input[type="text"]:focus,
 .login input[type="password"]:focus {
     outline: none;
     border-color: var(--main-color);
     box-shadow: 0 0 0 3px rgba(36, 95, 229, 0.1);
 }

 .login .check {
     margin: 1rem 0;
 }

 .login .check label {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     font-size: 0.9rem;
     color: var(--gray);
 }

 .login input[type="submit"] {
     width: 100%;
     background: var(--main-color);
     color: var(--white);
     border: none;
     padding: 0.75rem;
     border-radius: var(--border-radius);
     cursor: pointer;
     font-weight: bold;
     transition: var(--transition);
 }

 .login input[type="submit"]:hover {
     background: #1a4bb8;
     transform: translateY(-2px);
     box-shadow: var(--shadow-hover);
 }

 .login .body>p:last-child {
     text-align: center;
     margin-top: 1rem;
 }

 .login .body>p:last-child a {
     color: var(--button-color);
     text-decoration: none;
     font-weight: 500;
 }

 /* History Box */
 .history h2 {
     position: relative;
 }

 .history .more {
     position: absolute;
     right: 1.5rem;
     top: 50%;
     transform: translateY(-50%);
 }

 .history .more a {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     font-size: 0.9rem;
     transition: var(--transition);
 }

 .history .more a:hover {
     color: var(--white);
 }

 .item_list {
     list-style: none;
 }

 .item_list li {
     padding: 1rem 0;
     border-bottom: 1px solid var(--gray-light);
     color: var(--gray);
 }

 .item_list li:last-child {
     border-bottom: none;
 }

 .chackBox label {
     display: flex;
     gap: 10px;
 }

 

 /* Responsive Design */
 @media (max-width: 768px) {
     #contents {
         padding: 1rem;
     }

     .contents_inline {
         grid-template-columns: 1fr;
         gap: 1rem;
     }

     .contents_s {
         position: static;
     }

     .contents_m>h2 {
         font-size: 1.8rem;
     }

     .search_table {
         padding: 1.5rem;
     }

     .search_table table {
         display: block;
     }

     .search_table tbody,
     .search_table tr {
         display: block;
     }

     .search_table th,
     .search_table td {
         display: block;
         width: 100% !important;
         border: 1px solid var(--gray-light);
     }

     .search_table th {
         border-radius: 8px 8px 0 0 !important;
         padding: 0.875rem 1.25rem;
         margin-top: 1.5rem;
     }

     .search_table tbody tr:first-child th {
         margin-top: 0;
     }

     .search_table td {
         border-radius: 0 0 8px 8px !important;
         border-top: none;
         padding: 1.25rem;
     }

     .label3 {
         grid-template-columns: 1fr;
         gap: 0.5rem;
     }

     .btn_search {
         padding: 0.875rem 2rem;
         font-size: 1rem;
     }
 }

 @media (max-width: 480px) {
     .contents_m>h2 {
         font-size: 1.5rem;
     }

     .search_table {
         padding: 1rem;
     }

     .search_table th {
         padding: 0.75rem 1rem;
         font-size: 0.9rem;
     }

     .search_table td {
         padding: 1rem;
     }

     .search_table input[type="text"] {
         font-size: 16px;
         /* Prevent zoom on iOS */
     }
 }

 /* Animation */
 .main {
     animation: fadeInUp 0.6s ease-out;
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }