// This file is part of Indico.
// Copyright (C) 2002 - 2026 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base' as *;
@use 'partials/boxes' as *;

.padded-box {
  @include border-all($color: $pastel-gray, $width: 2px);
  background: $pastel-gray;
  display: table;
  table-layout: fixed;
  width: 100%;

  &::before {
    display: table-row;
  }

  .padded-box-pad {
    color: $light-black;
    display: table-cell;
    font-size: 25px;
    padding: 10px 0 5px;
    text-align: center;
    width: 40px;

    & > .icon {
      margin: 0;
    }
  }

  .padded-box-content {
    @include default-border-radius();
    color: $black;
    display: table-cell;
    padding: 10px;
    margin-left: 40px;
    background: white;
    vertical-align: middle;
    word-break: break-word;

    hr {
      @include box-hr();
      @include border-bottom($color: $pastel-gray, $width: 2px);
    }
  }
}
