/* index-card 기본 스타일 */
.index-card {
    position: absolute;
    top: 163px;
    left: 1140px;
    width: 310px;
    padding: 8px;
    background-color: #fff;
    font-size: 0.83em;
    border-radius: 10px;
    overflow: hidden;
    min-height: 120px;
  }
  
  .index-card .intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #000;
  }
  .index-card .signup-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    padding: 15px 0;
    background: #00AEEE;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    transition: background .3s;
  }
  .index-card .signup-btn:hover {
    background: #008fb8;
  }
  .index-card .actions {
    display: flex;
    justify-content: space-between;
    width: 300px;
    margin: 0 auto;
  }
  .index-card .actions a {
    text-decoration: none;
    color: #000;
    transition: color .3s;
  }
  .index-card .actions a:hover {
    color: #00AEEE;
  }
  
  /* user-header, user-info, logout-btn, nickname 스타일 */
  .user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
  .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .nickname {
    margin-left: 10px;
    margin-top: 10px;
    font-weight: bold !important;
    font-size: 1.2em;
  }
  .welcome-message {
    margin-left: 11px;
    margin-top: 10px;
  }
  .logout-btn {
    margin-right: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }
  .logout-btn:hover {
    background-color: rgb(26, 138, 244) !important;
    color: #fff !important;
  }
  
  .my-posts-btn {
    display: block;
    width: 100px;
    margin: 20px auto 0;
    padding: 8px 0;
    background-color: rgb(26, 138, 244);
    color: #fff;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color .3s;
  }
  .my-posts-btn:hover {
    background-color: rgb(20, 110, 200);
  }